public ActionResult Delete(int id, string user) { serv.Delete(id, user); return(Json(new { status = "OK", deletedID = id })); }
public ActionResult Delete(int id, string user) { serv.Delete(id, user); return(Json(new { status = "OK", deletedID = id }, JsonRequestBehavior.AllowGet)); }
public ActionResult Delete(int id) { return(GetStatusCodeResult(_categoriesManager.Delete(id))); }