Esempio n. 1
0
        static void Main(string[] args)
        {
            List <Country> CountrydB = new List <Country>();

            CountrydB.Add(new Country("USA", "North America", new List <string> {
                "red", "white", "blue"
            }));

            CountrydB.Add(new Country("France", "Europe", new List <string> {
                "Blue", "white", "red"
            }));

            CountrydB.Add(new Country("Spain", "Europe", new List <string> {
                "Yellow", "Red",
            }));

            CountryController controller = new CountryController(CountrydB);

            controller.WelcomeAction();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            List <Country> CountrydB = new List <Country>();

            CountrydB.Add(new Country("USA", "North America", new List <string> {
                "red", "white", "blue"
            }));

            CountrydB.Add(new Country("Italy", "Europe", new List <string> {
                "green", "white", "red"
            }));

            CountrydB.Add(new Country("Ireland", "Europe", new List <string> {
                "green", "white", "orange"
            }));

            CountryController controller = new CountryController(CountrydB);

            controller.WelcomeAction();
        }