AzureCosmosDbRevertHelpDeletion Method

Reverts the soft deletion of a HelpDto

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public 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

Implements

IAzureCosmosDbRevertHelpDeletion(HelpDto, UserSessionData, CancellationToken)

Exceptions

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

See Also