public ActionResult Edit(int studentId) { // look up student in db Student student = studentRepo.Find(studentId); return(View(student)); }
public void Find_Null_Test() { Student book = _repository.Find(100); Assert.IsNull(book); }