/// <summary> /// Prints a summary of the reservation details. /// </summary> private void PrintConfirmationPage() { int userResId = reservationDAO.GetReservationId(); string fromMonth = CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(userFromDate.Month); string toMonth = CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(userToDate.Month); Console.Clear(); PrintHeader(); Console.WriteLine(); Console.WriteLine($"******************************************************************** RESERVATION SUCCESSFUL *********************************************************************", Color.Gold); Console.WriteLine(); Console.WriteLine(" [Confirmation #] [ Park Name ] [ Campground ] [ Site ID ] [ Check-In Date ] [ Check Out Date ] [ Reserved For ] [Total Due] ", Color.GreenYellow); Console.WriteLine("__________________________________________________________________________________________________________________________________________________________________________", Color.DimGray); Console.WriteLine($" {userResId} {userParkName} {userCampgroundName} {siteIdString} {fromMonth} {userFromDate.Day}, {userFromDate.Year} {fromMonth} {userToDate.Day}, {userFromDate.Year} {reservationName} {totalCost:C} ", Color.Gold); Console.WriteLine(); Console.WriteLine("__________________________________________________________________________________________________________________________________________________________________________", Color.DimGray); Console.WriteLine(); // TODO Will, Can we add Color to the "M" and "Q" here so they stand out? Console.Write(@" Press M - Main Menu Press Q - Quit Enter Selection: ", Color.WhiteSmoke); while (true) { string userChoice = Console.ReadLine(); Console.Clear(); switch (userChoice.ToLower()) { case "m": RunMainMenuCLI(); break; case "q": PrintHeader(); Console.WriteLine(); Console.WriteLine("---------------------------------------------------------THANK YOU FOR USING THE NATIONAL PARK RESERVATION SERVICE--------------------------------------------------------", Color.GreenYellow); Console.WriteLine("__________________________________________________________________________________________________________________________________________________________________________", Color.DimGray); Console.WriteLine("************************************************************** Press [ENTER] to exit the service ***************************************************************", Color.LightSteelBlue); Console.ReadLine(); Environment.Exit(0); return; default: Console.WriteLine("The command provided was not a valid command, please try again.", Color.OrangeRed); break; } } }