IAzureCosmosDbDeleteMapMarker Method

Deletes a MapMarkerDto from the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task DeleteMapMarker(
	MapMarkerDto mapMarker,
	UserSessionData currentUser,
	CancellationToken cancellationToken = default
)

Parameters

mapMarker  MapMarkerDto
Map Marker to delete
currentUser  UserSessionData
User deleting the MapMarkerDto
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Exceptions

UnauthorizedAccessExceptionThrown if the user currentUser did not have the correct permissions
ArgumentNullExceptionThrown if mapMarker or currentUser was

See Also