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