Try your search with a different keyword or use * as a wildcard.
using Nop.Core.Domain.Messages;
namespace Nop.Services.Messages;
///
/// Campaign service
///
public partial interface ICampaignService
{
///
/// Inserts a campaign
///
/// Campaign
/// A task that represents the asynchronous operation
Task InsertCampaignAsync(Campaign campaign);
///
/// Updates a campaign
///
/// Campaign
/// A task that represents the asynchronous operation
Task UpdateCampaignAsync(Campaign campaign);
///
/// Deleted a queued email
///
/// Campaign
/// A task that represents the asynchronous operation
Task DeleteCampaignAsync(Campaign campaign);
///
/// Gets a campaign by identifier
///
/// Campaign identifier
///
/// A task that represents the asynchronous operation
/// The task result contains the campaign
///
Task GetCampaignByIdAsync(int campaignId);
///
/// Gets all campaigns
///
/// Store identifier; 0 to load all records
///
/// A task that represents the asynchronous operation
/// The task result contains the campaigns
///
Task> GetAllCampaignsAsync(int storeId = 0);
///
/// Sends a campaign to specified emails
///
/// Campaign
/// Email account
/// Subscriptions
///
/// A task that represents the asynchronous operation
/// The task result contains the otal emails sent
///
Task SendCampaignAsync(Campaign campaign, EmailAccount emailAccount,
IEnumerable subscriptions);
///
/// Sends a campaign to specified email
///
/// Campaign
/// Email account
/// Email
/// A task that represents the asynchronous operation
Task SendCampaignAsync(Campaign campaign, EmailAccount emailAccount, string email);
}