IAzureCosmosDbRevertDeleteCompany Method

Revert deletion of a company.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task RevertDeleteCompany(
	CompanyDto company,
	UserSessionData revertDeletedBy,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
Company to revert delete
revertDeletedBy  UserSessionData
User reverting delete the items
cancellationToken  CancellationToken  (Optional)
Cancellation token (optional)

Return Value

Task
Task completion

Exceptions

UnauthorizedAccessExceptionThrown if the user revertDeletedBy did not have the correct permissions
ArgumentNullExceptionThrown if company or revertDeletedBy was

See Also