public ActionResult Create(Student student)
        {
            if (ModelState.IsValid)
            {
                db.Students.Add(student);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            return View(student);
        }
 public ActionResult Edit(Student student)
 {
     db.SaveChanges();
         return RedirectToAction("Index");
 }