using Nop.Core.Domain.Topics; namespace Nop.Services.Topics; /// /// Topic template service interface /// public partial interface ITopicTemplateService { /// /// Delete topic template /// /// Topic template /// A task that represents the asynchronous operation Task DeleteTopicTemplateAsync(TopicTemplate topicTemplate); /// /// Gets all topic templates /// /// /// A task that represents the asynchronous operation /// The task result contains the topic templates /// Task> GetAllTopicTemplatesAsync(); /// /// Gets a topic template /// /// Topic template identifier /// /// A task that represents the asynchronous operation /// The task result contains the topic template /// Task GetTopicTemplateByIdAsync(int topicTemplateId); /// /// Inserts topic template /// /// Topic template /// A task that represents the asynchronous operation Task InsertTopicTemplateAsync(TopicTemplate topicTemplate); /// /// Updates the topic template /// /// Topic template /// A task that represents the asynchronous operation Task UpdateTopicTemplateAsync(TopicTemplate topicTemplate); }