IAzureCosmosDbUpdateDevice Method

Updates a DeviceDto value in the database

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task UpdateDevice(
	DeviceDto newValue,
	DeviceDto original,
	UserSessionData updatedBy,
	CancellationToken cancellationToken = default
)

Parameters

newValue  DeviceDto
New value with edits.
original  DeviceDto
Original value.
updatedBy  UserSessionData
User updating the Device
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

See Also