Beispiel #1
0
        public JsonResult Eliminar(int id)
        {
            ResponseModel rm = new ResponseModel();

            rm = testimonio.Eliminar(id);
            //if (rm.response) rm.href = "self";

            return(Json(rm, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
 public JsonResult Eliminar(int id) => Json(testimonio.Eliminar(id));
Beispiel #3
0
 public JsonResult Eliminar(int id)
 {
     return(Json(testimonio.Eliminar(id)));
 }
 public JsonResult Eliminar(int id)
 {
     Redirect("~/admin/testimonios/index");
     return(Json(testimonio.Eliminar(id), JsonRequestBehavior.AllowGet));
 }