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+45c8d9adb5970d727cceec44a5ed61aea0016e50
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