Esempio n. 1
0
        public dynamic Contato_Excluir(string IdContato)
        {
            ContatoBE_SQL Sql = new ContatoBE_SQL();

            Sql.Delete(IdContato);

            JsonResult jsonResult = Json(new { IdContato }, JsonRequestBehavior.AllowGet);

            jsonResult.MaxJsonLength = int.MaxValue;

            return(jsonResult);
        }
Esempio n. 2
0
        public dynamic Contato_InsertUpdate(ContatoBE objList)
        {
            ContatoBE_SQL Sql = new ContatoBE_SQL();

            objList = Sql.Insert_Update(objList);

            JsonResult jsonResult = Json(new { objList }, JsonRequestBehavior.AllowGet);

            jsonResult.MaxJsonLength = int.MaxValue;

            return(jsonResult);
        }
Esempio n. 3
0
        public dynamic Contato_SelectList()
        {
            ContatoBE_SQL    Sql     = new ContatoBE_SQL();
            List <ContatoBE> objList = new List <ContatoBE>();

            objList = Sql.SelectList();

            JsonResult jsonResult = Json(new { objList }, JsonRequestBehavior.AllowGet);

            jsonResult.MaxJsonLength = int.MaxValue;

            return(jsonResult);
        }