public static void engineSizeReport(List <Record> myRecords) { // Clear the console and load the headings Console.Clear(); Interface.applicationHeader(); // Run report with engine size to compare against as parameter AppReports.engineSize(myRecords, 1100); Console.WriteLine("Engine Size Report"); Console.WriteLine("To return to the menu, press the 'M' key. To exit the application, enter 'Exit'"); getInput(false, myRecords); }
public static void ageReport(List <Record> myRecords) { // Clear the console and load the headings Console.Clear(); Interface.applicationHeader(); // Run the report with age parameters AppReports.customerAge(myRecords, 20, 30); Console.WriteLine("Age Report"); Console.WriteLine("To return to the menu, press the 'M' key. To exit the application, enter 'Exit'"); getInput(false, myRecords); }
public static void regDateReport(List <Record> myRecords) { // Clear the console and load the headings Console.Clear(); Interface.applicationHeader(); // Run Report with date to compare against as paramater AppReports.regDate(myRecords, new DateTime(2010, 01, 01)); Console.WriteLine("Registration Date Report"); Console.WriteLine("To return to the menu, press the 'M' key. To exit the application, enter 'Exit'"); getInput(false, myRecords); }
/* ----------------------------------------- User Interface For Reports ----------------------------------------- */ public static void allCustomersReport(List <Record> myRecords) { // Clear the console and load the headings Console.Clear(); Interface.applicationHeader(); // Run the report AppReports.allRecords(myRecords); Console.WriteLine("All Known Customers and Vehicles Report"); Console.WriteLine("To return to the menu, press the 'M' key. To exit the application, enter 'Exit'"); getInput(false, myRecords); }