Exemplo n.º 1
0
        public static void InsertTrainerPerCourse()
        {
            TablePrinting.PrintAllTrainers();
            int b = IdSelection.GetTrainerId();

            TablePrinting.PrintAllCourses();
            int a = IdSelection.GetCourseId();

            Services.TrainerPerCourseTransfer(a, b);
        }
Exemplo n.º 2
0
        public static void InsertStudentsPerCourse()
        {
            TablePrinting.PrintAllStudents();
            int b = IdSelection.GetStudentId();

            TablePrinting.PrintAllCourses();
            int a = IdSelection.GetCourseId();

            Services.StudentPerCourseTransfer(a, b);
        }
Exemplo n.º 3
0
        public static void InsertStudentPerCoursePerAss()
        {
            TablePrinting.PrintAllCourses();
            int a = IdSelection.GetCourseId();

            TablePrinting.PrintAllAssignments();
            int b = IdSelection.GetAssignmentId();

            TablePrinting.PrintAllStudents();
            int c = IdSelection.GetStudentId();

            Services.AssignmentPerCoursePerStudentTransfer(a, b, c);
        }