AzureCosmosDbGetMapMarkerById Method

Retrieve a MapMarkerDto by its markerId

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public 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.

Implements

IAzureCosmosDbGetMapMarkerById(CompanyDto, Guid, CancellationToken)

See Also