private void DisplayDepartmentRoster(string result) { var department = RosterReport.GetDepartmentRoster(result); DisplayReportTitle("DEPARTMENT ROSTER"); Console.WriteLine(); DisplayRosterList(department.First()); }
private void ProcessRosterPrintingQueryResponse(string response) { switch (response.ToUpper()) { case "A": Console.Clear(); var departments = RosterReport.GetAllDepartmentRosters(); DisplayAllDepartmentRosters(departments); break; case "S": Console.Clear(); DisplayDepartmentRoster(QueryUserForDepartmentName()); break; default: Console.WriteLine("That's not even an option. Try again."); QueryUserDepartmentRoster(); break; } }