IAzureCosmosDbGetAlertTypes Method

Retrieves a list of AlertTypeDto by its companyId.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<List<AlertTypeDto>> GetAlertTypes(
	Guid companyId,
	CancellationToken cancellationToken = default
)

Parameters

companyId  Guid
ID of the CompanyDto that the alert rule belongs to
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskListAlertTypeDto
Found AlertTypeDto, or if not found.

See Also