public JsonResult Modify(Display_MenuAdmin model) { if (!ModelState.IsValid) { return(Json(new MessageResults { Status = "Error" }, JsonRequestBehavior.AllowGet)); } var result = false; if (result) { return(Json(new MessageResults { Status = "Success" }, JsonRequestBehavior.AllowGet)); } else { return(Json(new MessageResults { Status = "Error" }, JsonRequestBehavior.AllowGet)); } }
public bool AddOrUpdate(Display_MenuAdmin model) { var result = false; return(result); }