IAzureCosmosDbRevertEnvironmentDeletion Method

Reverts the soft deletion of an account

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task RevertEnvironmentDeletion(
	EnvironmentDto item,
	UserSessionData user,
	CancellationToken cancellationToken = default
)

Parameters

item  EnvironmentDto
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