예제 #1
0
        public static TrainerPerCourse AddTrainertPerCourse()
        {
            TrainerPerCourse tpc = new TrainerPerCourse();

            FrontEnd.PrintTrainers();
            tpc.TrainerId = InputsMethods.SelectTrainerId();
            FrontEnd.PrintCourses();
            tpc.CourseId = InputsMethods.SelectCourseId();
            return(tpc);
        }
예제 #2
0
        public static StudentPerCourse AddStudentPerCourse()
        {
            StudentPerCourse spc = new StudentPerCourse();

            FrontEnd.PrintStudents();
            spc.StudentId = InputsMethods.SelectStudentId();
            FrontEnd.PrintCourses();
            spc.CourseId = InputsMethods.SelectCourseId();
            return(spc);
        }
예제 #3
0
        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);
        }