public List <Instructor> GetInstructorsByOffice(string location)
 {
     return(Instructors.Find(i => (i.OfficeAssignments.Location == location)).ToList());
 }
Example #2
0
 public Instructor GetInstructor(int?id)
 {
     return(_instructorRepository.Find(id));
 }