IAzureCosmosDbGetMapMarkerById Method

Retrieve a MapMarkerDto by its markerId

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<MapMarkerDto?> GetMapMarkerById(
	CompanyDto? company,
	Guid markerId,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
The company to get the map marker from. Use to grab a global mapmarker.
markerId  Guid
ID of the map marker
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskMapMarkerDto
Found map marker or if not found.

See Also