//-----------------Intput For Assignment------------------\\ static void add_assignment(PrivateSchool CodingBootcamp) { string name = CommonTools.NameAssignmentInput(); string desc = CommonTools.DescAssignmentInput(); DateTime sub_date = CommonTools.DateAssignmentInput(); //string oral_mark = CommonTools.OralMarkAssignmentInput(); CodingBootcamp.AddAssignments(name, desc, sub_date); }
static void set_assignment_student(PrivateSchool CodingBootcamp) { CodingBootcamp.OutputAssignments(); int user_assignment_data = CommonTools.AssignmentUserSelection(); Console.WriteLine("\n\n\n\n\n\n\n\n\n\n"); CodingBootcamp.OutputStudents(); int user_student_data = CommonTools.StudentUserSelection(); DateTime sub_date = CommonTools.DateAssignmentInput(); CodingBootcamp.StudentsAssignments.Add(new StudentsAssignment(user_assignment_data, user_student_data, sub_date)); }