示例#1
0
 public ActionResult RemoveStudent(string id)
 {
     preferencesDAL.RemoveAllPreferencesForStudent(id);
     studentDAL.RemoveStudentFromDBById(id);
     return(RedirectToAction("Index"));
 }