Method CreateAsync
- Namespace
- MailFathom.Application.Access.Organizations
- Assembly
- MailFathom.Application.dll
CreateAsync(Guid, string, OrganizationShortName, DateTimeOffset, CancellationToken)
Records an organization.
Task<OrganizationWriteResult> CreateAsync(Guid organizationId, string displayName, OrganizationShortName shortName, DateTimeOffset createdAt, CancellationToken cancellationToken)
Parameters
organizationIdGuidThe identifier the organization is to carry.
displayNamestringThe name an operator reads it by, already judged.
shortNameOrganizationShortNameThe short name its members will sign in under.
createdAtDateTimeOffsetWhen it was recorded.
cancellationTokenCancellationTokenCancels the write.