IAzureCosmosDbCreateAccount Method
Creates an account in the database
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<AccountDto> CreateAccount(
AccountDto account,
CompanyDto accountOwner,
UserSessionData createdBy,
CancellationToken cancellationToken = default
)
- account AccountDto
- Account to create
- accountOwner CompanyDto
- Owner of the newly created account
- createdBy UserSessionData
- User creating the environment
- cancellationToken CancellationToken (Optional)
- Cancellation token (optional)
TaskAccountDtoCosmos DB Object-creation
Task