예제 #1
0
 public ActionResult ModifyUser(FormCollection fc)
 {
     user.Username = fc["Username"];
     user.Name     = fc["Name"];
     user.Password = encrypt(fc["Password"]);
     user.Role     = Convert.ToInt32(fc["Role"]);
     user.ModifyUser(user);
     return(View());
 }