IAzureCosmosDbGetRoleById(CompanyDto, Guid, CancellationToken) Method
Get role by company and roleId
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task<RoleDto> GetRoleById(
CompanyDto company,
Guid roleId,
CancellationToken cancellationToken = default
)
- company CompanyDto
- CompanyDto owning the role.
- roleId Guid
- ID of the role.
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskRoleDtoRole (if found)