Exemplo n.º 1
0
        public async Task EmailPeople()
        {
            _log.Debug("Email Person");
            var model = new PersonModel()
            {
                Name = "Sarah", Email = "*****@*****.**", CanVote = false
            };

            var body = _emailTemplateService.GenerateEmailBody(model);

            await _emailService.SendEmail(model, body);
        }