Пример #1
0
        public ActionResult EditUser(UserViewModel model)
        {
            UserDAL ud   = new UserDAL();
            var     user = model.CastDB(model);

            ud.Update(user);

            return(Content("Success"));
        }