public async Task <IActionResult> MailNinetyDays() { using (var service = GetService <ASIK_PGWEB_Service>()) { try { CorreoController correo = new CorreoController(_serviceProvider); bool SendMail = await correo.ninetyDaysMail(); return(View()); } catch (Exception ex) { return(Json(new { Error = ex.InnerException.Message })); } } }