IAzureCosmosDbGetAccountById(Guid, CancellationToken) Method

Retrieves an AccountDto by its accountId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<AccountDto?> GetAccountById(
	Guid accountId,
	CancellationToken cancellationToken = default
)

Parameters

accountId  Guid
ID of the AccountDto
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskAccountDto
Found AccountDto, or if not found.

Remarks

This method is only to be used for the user store and login services!

See Also