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