using Nop.Core.Domain.Catalog; namespace Nop.Services.Catalog; /// /// Product template interface /// public partial interface IProductTemplateService { /// /// Delete product template /// /// Product template /// A task that represents the asynchronous operation Task DeleteProductTemplateAsync(ProductTemplate productTemplate); /// /// Gets all product templates /// /// /// A task that represents the asynchronous operation /// The task result contains the product templates /// Task> GetAllProductTemplatesAsync(); /// /// Gets a product template /// /// Product template identifier /// /// A task that represents the asynchronous operation /// The task result contains the product template /// Task GetProductTemplateByIdAsync(int productTemplateId); /// /// Inserts product template /// /// Product template /// A task that represents the asynchronous operation Task InsertProductTemplateAsync(ProductTemplate productTemplate); /// /// Updates the product template /// /// Product template /// A task that represents the asynchronous operation Task UpdateProductTemplateAsync(ProductTemplate productTemplate); }