AzureCosmosDbRevertEnvironmentDeletion Method

Reverts the soft deletion of an account

Definition

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

Implements

IAzureCosmosDbRevertEnvironmentDeletion(EnvironmentDto, UserSessionData, CancellationToken)

Exceptions

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

See Also