public ActionResult DeleteConfirmed(int id) { Student student = StudentDB.GetStudent(db, id); StudentDB.DeleteStudent(db, student); return(RedirectToAction("Index")); }