public async Task <IActionResult> OnPostEnviarCorreo(string recibido) { try { InfoLiquid liq = JsonConvert.DeserializeObject <InfoLiquid>(recibido); //liq.idCierre = idCierre; //liq.emailDest = emailDest; //liq.emailCC = emailCC; //liq.body = body; await info.EnviarCorreo(liq); return(new JsonResult(true)); } catch (Exception ex) { return(new JsonResult(false)); } }