Webiant Logo Webiant Logo
  1. No results found.

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

INewsletterModelFactory.cs

using Nop.Web.Models.Newsletter;

namespace Nop.Web.Factories;

/// 
/// Represents the interface of the newsletter model factory
/// 
public partial interface INewsletterModelFactory
{
    /// 
    /// Prepare the newsletter box model
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the newsletter box model
    /// 
    Task PrepareNewsletterBoxModelAsync();

    /// 
    /// Prepare the subscription activation model
    /// 
    /// Whether the subscription has been activated
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the subscription activation model
    /// 
    Task PrepareSubscriptionActivationModelAsync(bool active);
}