Esempio n. 1
0
        public void GetCityByCountryTest()
        {
            /*
             * {
             * "country": "AD",
             * "name": "les Escaldes",
             * "lat": "42.50729",
             * "lng": "1.53414"
             * },
             */

            Assert.NotNull(_dataJson.Cities("AD"));
        }
Esempio n. 2
0
 public List <City> Cities(string countryCode)
 {
     return(_dataLayerDataSource.Cities(countryCode));
 }