Webiant Logo Webiant Logo
  1. No results found.

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

IEmailAccountService.cs

using Nop.Core.Domain.Messages;

namespace Nop.Services.Messages;

/// 
/// Email account service
/// 
public partial interface IEmailAccountService
{
    /// 
    /// Inserts an email account
    /// 
    /// Email account
    /// A task that represents the asynchronous operation
    Task InsertEmailAccountAsync(EmailAccount emailAccount);

    /// 
    /// Updates an email account
    /// 
    /// Email account
    /// A task that represents the asynchronous operation
    Task UpdateEmailAccountAsync(EmailAccount emailAccount);

    /// 
    /// Deletes an email account
    /// 
    /// Email account
    /// A task that represents the asynchronous operation
    Task DeleteEmailAccountAsync(EmailAccount emailAccount);

    /// 
    /// Gets an email account by identifier
    /// 
    /// The email account identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the email account
    /// 
    Task GetEmailAccountByIdAsync(int emailAccountId);

    /// 
    /// Gets all email accounts
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the email accounts list
    /// 
    Task> GetAllEmailAccountsAsync();
}