namespace Hims.Domain.Helpers
{
    using System.Threading.Tasks;
    using Shared.Library.MailKit;

    /// <summary>
    /// The Email Service.
    /// </summary>
    public interface IEmailHelper
    {
        /// <summary>
        /// The send.
        /// </summary>
        /// <param name="emailMessage">
        /// The email message.
        /// </param>
        /// <returns>
        /// The <see cref="Task"/>.
        /// </returns>
        Task SendAsync(EmailMessage emailMessage);

        /// <summary>
        /// The send email async.
        /// </summary>
        /// <param name="emailMessage">
        /// The email message.
        /// </param>
        /// <returns>
        /// The <see cref="Task"/>.
        /// </returns>
        Task SendEmailAsync(EmailMessage emailMessage);
    }
}