AzureCosmosDbGetDeletedAccountById Method

Get soft-deleted AccountDto's belonging to a CompanyDto.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<AccountDto> GetDeletedAccountById(
	CompanyDto company,
	Guid accountId,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
Company the deleted account belongs to
accountId  Guid
AccountDto of the account to look up
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskAccountDto
A deleted account.

Implements

IAzureCosmosDbGetDeletedAccountById(CompanyDto, Guid, CancellationToken)

See Also