Table of Contents

Method UnassignAsync

Namespace
MailFathom.Infrastructure.Persistence.Users
Assembly
MailFathom.Infrastructure.dll

UnassignAsync(Guid, UserId, CancellationToken)

Ends one user's assignment to an account, erasing the account and its mail when nobody else is assigned it.

Task<MailAccountUnassignment> UnassignAsync(Guid accountId, UserId user, CancellationToken cancellationToken)

Parameters

accountId Guid

The account.

user UserId

The user whose assignment ends.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<MailAccountUnassignment>

What the write did.