IAzureCosmosDbConfirmEditDevice Method

Confirm edit request of an DeviceDto

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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