IAzureCosmosDbGetRoleById(CompanyDto, Guid, CancellationToken) Method
Get role by company and roleId
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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)