IAzureCosmosDbConfirmEditDevice Method

Confirm edit request of an DeviceDto

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task ConfirmEditDevice(
	DeviceDto device,
	CompanyDto company,
	UserSessionData confirmBy,
	bool isLocked,
	CancellationToken cancellationToken = default
)

Parameters

device  DeviceDto
Device to be locked
company  CompanyDto
Company the device belongs to
confirmBy  UserSessionData
User confirming the request
isLocked  Boolean
True if the device is locked
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

See Also