Beispiel #1
0
        public AbstractCourse CreateCourse(string scheduleType)
        {
            AbstractCourse course = this.GetCourse(scheduleType);

            course.CreateCourseMaterial();
            course.CreateSchedule();
            return(course);
        }
        public AbstractCourse CreateCourse(string courseName)
        {
            AbstractCourse abstractCourse = GetCourse(courseName);

            abstractCourse.CreateCourseMaterial();
            abstractCourse.CreateCourseSchedule();
            return(abstractCourse);
        }
        public ICourse CreateCourse(DeveloperPlatform developerPlatform)
        {
            AbstractCourse course = this.GetCourse(developerPlatform);

            if (course != null)
            {
                course.CreateCourseMaterial();
                course.CreateSchedule();
            }
            return(course);
        }