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.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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.