public AbstractCourse CreateCourse(string scheduleType) { AbstractCourse course = this.GetCourse(scheduleType); course.CreateCourseMaterial(); course.CreateSchedule(); return(course); }
public ICourse CreateCourse(DeveloperPlatform developerPlatform) { AbstractCourse course = this.GetCourse(developerPlatform); if (course != null) { course.CreateCourseMaterial(); course.CreateSchedule(); } return(course); }