public void WelcomeAction() { CountryListView cl = new CountryListView(CountryDB); Console.WriteLine("Hello, welcome to the country app. Please select a country from the following list: "); cl.Display(); }
public void SelectCountryAction() { Console.Clear(); if (FancyGraphics) { listView.DisplayColored(); } else { listView.Display(); } int nCountry = Utilities.GetIntInputAdjusted("Which country would you like to learn more about", listView.Countries.Count); CountryAction(CountryDb[nCountry] ?? new Country("An error has occurred.", "Please try again.", "Red", "White")); }