static void set_course_student(PrivateSchool CodingBootcamp) { CodingBootcamp.OutputCourses(); int user_cource_data = CommonTools.CourseUserSelection(); Console.WriteLine("\n\n\n\n\n\n\n\n\n\n"); CodingBootcamp.OutputStudents(); int user_student_data = CommonTools.StudentUserSelection(); CodingBootcamp.StudentsCourses.Add(new StudentsCourse(user_cource_data, user_student_data)); }
static void set_course_trainer(PrivateSchool CodingBootcamp) { CodingBootcamp.OutputCourses(); int user_cource_data = CommonTools.CourseUserSelection(); Console.WriteLine("\n\n\n\n\n\n\n\n\n\n"); CodingBootcamp.OutputTrainer(); int user_trainer_data = CommonTools.TrainerUserSelection(); CodingBootcamp.TrainersCourses.Add(new TrainersCourse(user_cource_data, user_trainer_data)); }