IAzureCosmosDbUpdateOrCreateTemplate Method
Update or Creates a template in the database
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task UpdateOrCreateTemplate(
TemplateDto templateItem,
Guid companyId,
UserSessionData createdBy,
CancellationToken cancellationToken = default
)
- templateItem TemplateDto
- Original template
- companyId Guid
- Company ID. If left Empty, the template is a company-agnostic one.
- createdBy UserSessionData
- User creating the template
- cancellationToken CancellationToken (Optional)
- Cancellation token (optional)
TaskCosmos DB Object-creation
Task