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); }