//修改用户

        public ActionResult Edit()
        {
            JavaScriptSerializer js = new JavaScriptSerializer();
            users u = js.Deserialize <users>(Request["data"]);
            int   i = UsersModels.UpdateUser(u);

            return(Content(i.ToString()));
        }
Exemple #2
0
 public ActionResult Index(UsersModels user)
 {
     user.UpdateUser();
     return View(user);
 }
Exemple #3
0
 public ActionResult Index(UsersModels user)
 {
     user.UpdateUser();
     return(View(user));
 }