Exemplo n.º 1
0
        public async Task <IActionResult> OnPostSendEmailAsync([FromBody] MailModel model)
        {
            await emailSender.ContactEmailAsync(model);

            return(new OkObjectResult("Your message is on the way to my inbox. Thank you!"));
        }