IAzureCosmosDbGetTemplatesByCompanyId Method

Retrieves a list of TemplateDto by its companyId. (or Empty for global templates)

Definition

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

Parameters

companyId  Guid
ID of the CompanyDto that the dashboard belongs to. (or Empty for global templates)
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskListTemplateDto
Found TemplateDto, or if not found.

See Also