//修改用户 public ActionResult Edit() { JavaScriptSerializer js = new JavaScriptSerializer(); users u = js.Deserialize <users>(Request["data"]); int i = UsersModels.UpdateUser(u); return(Content(i.ToString())); }
public ActionResult Index(UsersModels user) { user.UpdateUser(); return View(user); }
public ActionResult Index(UsersModels user) { user.UpdateUser(); return(View(user)); }