public List<Course> GetPreReqScheduleList() { var service = new CourseService(new CourseRepository(this.entities)); var errors = new List<string>(); //// we could log the errors here if there are any... return service.GetPreReqScheduleList(ref errors); }