IAzureCosmosDbCreateRole Method
Creates a new role in the database for a company.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Task<RoleDto> CreateRole(
RoleDto newRole,
UserSessionData createdBy,
CancellationToken cancellationToken = default
)
- newRole RoleDto
- Role to be created.
- createdBy UserSessionData
- User creating the role.
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskRoleDtoCosmos DB Object-creation
Task