IAzureCosmosDbGetDeletedEnvironment Method

Get a soft-deleted environment belonging to a company.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<EnvironmentDto?> GetDeletedEnvironment(
	IHasCompany company,
	EnvironmentDto environment,
	UserSessionData requester,
	CancellationToken cancellationToken = default
)

Parameters

company  IHasCompany
IHasCompany object
environment  EnvironmentDto
EnvironmentDto object
requester  UserSessionData
User performing the check
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskEnvironmentDto
a deleted environments.

See Also