Esempio n. 1
0
 public ActionResult saveuser(user user)
 {
     db.user.Add(user);
     db.SaveChanges();
     return View(user);
 }
Esempio n. 2
0
 public ActionResult adduser(FormCollection Form)
 {
     user user = new user();
     user.name = Form["Name"];
     return View(user);
 }