public static IList <AssignedCoursePreview> GetList(InstructorEdit instructor) { var repo = UowFactory.Get().Repository <CourseRepository>(); return(ModelHelper.FetchList <AssignedCoursePreview>(repo.GetAll(), instructor)); }
private void Model_Fetch(Course course, InstructorEdit instructor) { this.InjectFrom(course); Instructor = instructor; }