IAzureCosmosDbRevertHelpDeletion Method

Reverts the soft deletion of a HelpDto

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task RevertHelpDeletion(
	HelpDto item,
	UserSessionData user,
	CancellationToken cancellationToken = default
)

Parameters

item  HelpDto
Item to revert the deletion of
user  UserSessionData
User performing the task
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

Task
Task completion

Exceptions

UnauthorizedAccessException Thrown if the user user did not have the correct permissions

See Also