IAzureCosmosDbGetAccountById Method

Overload List

GetAccountById(Guid, CancellationToken) Retrieves an AccountDto by its accountId.
GetAccountById(CompanyDto, Guid, CancellationToken) Retrieves an AccountDto by its accountId. The company is used to verify that the AccountDto belongs to the CompanyDto. It also directs Azure to the correct container partition.

See Also