예제 #1
0
        public static void InsertStudentsPerCourse()
        {
            TablePrinting.PrintAllStudents();
            int b = IdSelection.GetStudentId();

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

            Services.StudentPerCourseTransfer(a, b);
        }
예제 #2
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);
        }