public dynamic Email_Excluir(string IdEmail) { EmailBE_SQL Sql = new EmailBE_SQL(); Sql.Delete(IdEmail); JsonResult jsonResult = Json(new { IdEmail }, JsonRequestBehavior.AllowGet); jsonResult.MaxJsonLength = int.MaxValue; return(jsonResult); }
public dynamic Email_InsertUpdate(EmailBE objList) { EmailBE_SQL Sql = new EmailBE_SQL(); objList = Sql.Insert_Update(objList); JsonResult jsonResult = Json(new { objList }, JsonRequestBehavior.AllowGet); jsonResult.MaxJsonLength = int.MaxValue; return(jsonResult); }
public dynamic email_SelectList(string IdContato) { EmailBE_SQL Sql = new EmailBE_SQL(); List <EmailBE> objList = new List <EmailBE>(); objList = Sql.SelectList(IdContato); JsonResult jsonResult = Json(new { objList }, JsonRequestBehavior.AllowGet); jsonResult.MaxJsonLength = int.MaxValue; return(jsonResult); }