コード例 #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;
 }