IAzureCosmosDbGetRoleById(CompanyDto, Guid, CancellationToken) Method

Get role by company and roleId

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<RoleDto> GetRoleById(
	CompanyDto company,
	Guid roleId,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
CompanyDto owning the role.
roleId  Guid
ID of the role.
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskRoleDto
Role (if found)

See Also