Exemple #1
0
        /// <summary>
        /// Testing single responsibility principle
        /// </summary>
        /// <returns></returns>
        private async static Task TestCountries()
        {
            CountriesManager manager = new CountriesManager();
            var countries            = await manager.GetCountries();

            foreach (var country in countries)
            {
                Console.WriteLine(CountriesFormatter.FormatForConsole(country));
            }
        }