using Nop.Core.Domain.Catalog; namespace Nop.Services.Catalog; /// /// Category template service interface /// public partial interface ICategoryTemplateService { /// /// Delete category template /// /// Category template /// A task that represents the asynchronous operation Task DeleteCategoryTemplateAsync(CategoryTemplate categoryTemplate); /// /// Gets all category templates /// /// /// A task that represents the asynchronous operation /// The task result contains the category templates /// Task> GetAllCategoryTemplatesAsync(); /// /// Gets a category template /// /// Category template identifier /// /// A task that represents the asynchronous operation /// The task result contains the category template /// Task GetCategoryTemplateByIdAsync(int categoryTemplateId); /// /// Inserts category template /// /// Category template /// A task that represents the asynchronous operation Task InsertCategoryTemplateAsync(CategoryTemplate categoryTemplate); /// /// Updates the category template /// /// Category template /// A task that represents the asynchronous operation Task UpdateCategoryTemplateAsync(CategoryTemplate categoryTemplate); }