Example #1
0
 public JsonResult GuardarCategoriaRango(CATEGORIA_EL C)
 {
     try
     {
         string postdata = JsonConvert.SerializeObject(C);
         var    Res      = js.Deserialize <int>(Utilitario.Accion.Conect_WEBAPI("CATEGORIA/CategoriaRango", "POST", postdata));
         return(Json(Res, JsonRequestBehavior.AllowGet));
     }
     catch (Exception e)
     {
         return(Json(new { resultado = "" }, JsonRequestBehavior.AllowGet));
     }
 }