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); }