Webiant Logo Webiant Logo
  1. No results found.

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

INewsLetterSubscriptionTypeService.cs

using Nop.Core.Domain.Messages;

namespace Nop.Services.Messages;

/// 
/// Represents newsletter subscription type service
/// 
public partial interface INewsLetterSubscriptionTypeService
{
    /// 
    /// Inserts a newsletter subscription type
    /// 
    /// Newsletter subscription type
    /// A task that represents the asynchronous operation
    Task InsertNewsLetterSubscriptionTypeAsync(NewsLetterSubscriptionType newsLetterSubscriptionType);

    /// 
    /// Updates a newsletter subscription type
    /// 
    /// Newsletter subscription type
    /// A task that represents the asynchronous operation
    Task UpdateNewsLetterSubscriptionTypeAsync(NewsLetterSubscriptionType newsLetterSubscriptionType);

    /// 
    /// Deletes a newsletter subscription type
    /// 
    /// Newsletter subscription type
    /// A task that represents the asynchronous operation
    Task DeleteNewsLetterSubscriptionTypeAsync(NewsLetterSubscriptionType newsLetterSubscriptionType);

    /// 
    /// Gets a newsletter subscription type by newsletter subscription type identifier
    /// 
    /// The newsletter subscription type identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the newsletter subscription type
    /// 
    Task GetNewsLetterSubscriptionTypeByIdAsync(int newsLetterSubscriptionTypeId);

    /// 
    /// Gets the newsletter subscription type list
    /// 
    /// Load records allowed only in a specified store; pass 0 to load all records
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the newsletter subscription types
    /// 
    Task> GetAllNewsLetterSubscriptionTypesAsync(int storeId = 0);
}