IMailSender.cs 302 B

12345678910111213141516
  1. using MTWorkHR.Core.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Net.Mail;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace MTWorkHR.Core.Email
  9. {
  10. public interface IMailSender
  11. {
  12. Task<bool> SendEmail(EmailMessage email);
  13. }
  14. }