Webiant Logo Webiant Logo
  1. No results found.

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

INewsletterSubscriptionModelFactory.cs

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

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the newsletter subscription model factory
/// 
public partial interface INewsLetterSubscriptionModelFactory
{
    /// 
    /// Prepare newsletter subscription search model
    /// 
    /// Newsletter subscription search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the newsletter subscription search model
    /// 
    Task PrepareNewsLetterSubscriptionSearchModelAsync(NewsLetterSubscriptionSearchModel searchModel);

    /// 
    /// Prepare paged newsletter subscription list model
    /// 
    /// Newsletter subscription search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the newsletter subscription list model
    /// 
    Task PrepareNewsLetterSubscriptionListModelAsync(NewsLetterSubscriptionSearchModel searchModel);

    /// 
    /// Prepare newsletter subscription model
    /// 
    /// Newsletter subscription model
    /// Subscription
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the newsletter subscription model
    /// 
    Task PrepareNewsLetterSubscriptionModelAsync(NewsLetterSubscriptionModel model,
        NewsLetterSubscription subscription, bool excludeProperties = false);
}