IAzureCosmosDbConfirmEditDevice Method

Confirm edit request of an DeviceDto

Definition

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