Webiant Logo Webiant Logo
  1. No results found.

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

ICampaignModelFactory.cs

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

namespace Nop.Web.Areas.Admin.Factories;

/// 
/// Represents the campaign model factory
/// 
public partial interface ICampaignModelFactory
{
    /// 
    /// Prepare campaign search model
    /// 
    /// Campaign search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the campaign search model
    /// 
    Task PrepareCampaignSearchModelAsync(CampaignSearchModel searchModel);

    /// 
    /// Prepare paged campaign list model
    /// 
    /// Campaign search model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the campaign list model
    /// 
    Task PrepareCampaignListModelAsync(CampaignSearchModel searchModel);

    /// 
    /// Prepare campaign model
    /// 
    /// Campaign model
    /// Campaign
    /// Whether to exclude populating of some properties of model
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the campaign model
    /// 
    Task PrepareCampaignModelAsync(CampaignModel model, Campaign campaign, bool excludeProperties = false);
}