private static void FindStudent(StudentRepository students) { Console.WriteLine("Find Student"); string match = ConsolePlus.ReadString("Last name (or part of last name):", 1); ConsolePlus.WriteList(students.FindStudentByLastName(match), "\n"); }
private static void AllStudents(StudentRepository students) { ConsolePlus.WriteList(students.AllStudents(), "\n"); }