Пример #1
0
        public static IList <AssignedCoursePreview> GetList(InstructorEdit instructor)
        {
            var repo = UowFactory.Get().Repository <CourseRepository>();

            return(ModelHelper.FetchList <AssignedCoursePreview>(repo.GetAll(), instructor));
        }
Пример #2
0
 private void Model_Fetch(Course course, InstructorEdit instructor)
 {
     this.InjectFrom(course);
     Instructor = instructor;
 }