Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IMessageTemplateModelFactory.cs

using Nop.Core.Domain.Messages;
using Nop.Web.Areas.Admin.Models.Messages;

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the message template model factory
/// 
public partial interface IMessageTemplateModelFactory
{
    /// 
    /// Prepare message template search model
    /// 
    /// Message template search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the message template search model
    /// 
    Task PrepareMessageTemplateSearchModelAsync(MessageTemplateSearchModel searchModel);

    /// 
    /// Prepare paged message template list model
    /// 
    /// Message template search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the message template list model
    /// 
    Task PrepareMessageTemplateListModelAsync(MessageTemplateSearchModel searchModel);

    /// 
    /// Prepare message template model
    /// 
    /// Message template model
    /// Message template
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the message template model
    /// 
    Task PrepareMessageTemplateModelAsync(MessageTemplateModel model,
        MessageTemplate messageTemplate, bool excludeProperties = false);

    /// 
    /// Prepare test message template model
    /// 
    /// Test message template model
    /// Message template
    /// Language identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the st message template model
    /// 
    Task PrepareTestMessageTemplateModelAsync(TestMessageTemplateModel model,
        MessageTemplate messageTemplate, int languageId);
}