public ActionResult Edit([Bind(Include = "Name,Password,Gender,Major,EntranceDate")] Student student) { if (ModelState.IsValid) { db.Save(student); return RedirectToAction("Index"); } return View(student); }