コード例 #1
0
        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));
            }
        }
コード例 #2
0
        public bool AddOrUpdate(Display_MenuAdmin model)
        {
            var result = false;

            return(result);
        }