示例#1
0
        public List <CourseScheduleDAO> ListFullCourses()
        {
            List <CourseScheduleDAO> courseSchedules = new List <CourseScheduleDAO>();

            foreach (CourseSchedule courseSchedule in data.ListFullCourses())
            {
                courseSchedules.Add(Mapper.MapToCourseScheduleDAO(courseSchedule));
            }

            return(courseSchedules);
        }