28 lines
926 B
C#
28 lines
926 B
C#
using Nop.Web.Models.Newsletter;
|
|
|
|
namespace Nop.Web.Factories;
|
|
|
|
/// <summary>
|
|
/// Represents the interface of the newsletter model factory
|
|
/// </summary>
|
|
public partial interface INewsletterModelFactory
|
|
{
|
|
/// <summary>
|
|
/// Prepare the newsletter box model
|
|
/// </summary>
|
|
/// <returns>
|
|
/// A task that represents the asynchronous operation
|
|
/// The task result contains the newsletter box model
|
|
/// </returns>
|
|
Task<NewsletterBoxModel> PrepareNewsletterBoxModelAsync();
|
|
|
|
/// <summary>
|
|
/// Prepare the subscription activation model
|
|
/// </summary>
|
|
/// <param name="active">Whether the subscription has been activated</param>
|
|
/// <returns>
|
|
/// A task that represents the asynchronous operation
|
|
/// The task result contains the subscription activation model
|
|
/// </returns>
|
|
Task<SubscriptionActivationModel> PrepareSubscriptionActivationModelAsync(bool active);
|
|
} |