예제 #1
0
        public ActionResult Edit(AccessModel model)
        {
            if (ModelState.IsValid)
            {
                if (model.Update() > 0)
                {
                    return(Success());
                }
            }

            TempData[Info] = SaveError;
            return(Error());
        }