public static TrainerPerCourse AddTrainertPerCourse() { TrainerPerCourse tpc = new TrainerPerCourse(); FrontEnd.PrintTrainers(); tpc.TrainerId = InputsMethods.SelectTrainerId(); FrontEnd.PrintCourses(); tpc.CourseId = InputsMethods.SelectCourseId(); return(tpc); }
public static StudentPerCourse AddStudentPerCourse() { StudentPerCourse spc = new StudentPerCourse(); FrontEnd.PrintStudents(); spc.StudentId = InputsMethods.SelectStudentId(); FrontEnd.PrintCourses(); spc.CourseId = InputsMethods.SelectCourseId(); return(spc); }
public static AssignmentPerStudentPerCourse AddAssignmentPerCourse() { AssignmentPerStudentPerCourse apc = new AssignmentPerStudentPerCourse(); FrontEnd.PrintAssignments(); apc.AssignemntId = InputsMethods.SelectAssignmentId(); FrontEnd.PrintCourses(); apc.CourseId = InputsMethods.SelectCourseId(); FrontEnd.PrintStudents(); apc.StudentId = InputsMethods.SelectStudentId(); return(apc); }