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+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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