Пример #1
0
        public void SendMail(EmailModel model)
        {
            if (model == null)
            {
                throw new ArgumentNullException("SmtpMail ArgumentNullException Sending Async");
            }

            //Smtp dto = AutoMapperGenericHelper<SmtpModel, Smtp>.Convert(model);
            _smtpRepository.SendMail(model);
        }