Method ReadAsync
- Namespace
- MailFathom.Infrastructure.Persistence.Users
- Assembly
- MailFathom.Infrastructure.dll
ReadAsync(Guid, CancellationToken)
Reads one account and the users it is assigned to.
Task<MailAccountHolding?> ReadAsync(Guid accountId, CancellationToken cancellationToken)
Parameters
accountIdGuidThe account asked about.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<MailAccountHolding>
The account, or null when the deployment holds none under that identifier.