Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Messages;
namespace Nop.Services.Messages;
///
/// Message template service
///
public partial interface IMessageTemplateService
{
///
/// Delete a message template
///
/// Message template
/// A task that represents the asynchronous operation
Task DeleteMessageTemplateAsync(MessageTemplate messageTemplate);
///
/// Inserts a message template
///
/// Message template
/// A task that represents the asynchronous operation
Task InsertMessageTemplateAsync(MessageTemplate messageTemplate);
///
/// Updates a message template
///
/// Message template
/// A task that represents the asynchronous operation
Task UpdateMessageTemplateAsync(MessageTemplate messageTemplate);
///
/// Gets a message template by identifier
///
/// Message template identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the message template
///
Task GetMessageTemplateByIdAsync(int messageTemplateId);
///
/// Gets message templates by the name
///
/// Message template name
/// Store identifier; pass null to load all records
///
/// A task that represents the asynchronous operation
/// The task result contains the list of message templates
///
Task> GetMessageTemplatesByNameAsync(string messageTemplateName, int? storeId = null);
///
/// Gets all message templates
///
/// Store identifier; pass 0 to load all records
/// Keywords to search by name, body, or subject
/// A value indicating whether to get active records; "null" to load all records; "false" to load only inactive records; "true" to load only active records
///
/// A task that represents the asynchronous operation
/// The task result contains the message template list
///
Task> GetAllMessageTemplatesAsync(int storeId, string keywords = null, bool? isActive = null);
///
/// Create a copy of message template with all depended data
///
/// Message template
///
/// A task that represents the asynchronous operation
/// The task result contains the message template copy
///
Task CopyMessageTemplateAsync(MessageTemplate messageTemplate);
}