IAzureCosmosDbGetTemplatesByCompanyId Method
Retrieves a list of
TemplateDto by its
companyId. (or
Empty for global templates)
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
Task<List<TemplateDto>> GetTemplatesByCompanyId(
Guid companyId,
CancellationToken cancellationToken = default
)
- companyId Guid
- ID of the CompanyDto that the dashboard belongs to. (or Empty for global templates)
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskListTemplateDtoFound
TemplateDto, or
if not found.