public void GetCounties()
        {
            List <WebCounty> counties;

            counties = GeographicManager.GetCounties(GetContext());
            Assert.IsTrue(counties.IsNotEmpty());
        }
        public void GetCounties()
        {
            CountyList counties;

            counties = GeographicManager.GetCounties();
            Assert.IsTrue(counties.IsNotEmpty());
        }
        public void GetByCountyIdentifier()
        {
            TaxonCountyOccurrence countyOccurrence;

            foreach (County county in GeographicManager.GetCounties())
            {
                // Kalmar county is divided into "Ă–land"
                // and "Kalmar fastland".
                if (county.Identifier.ToLower() != "h")
                {
                    countyOccurrence = GetCountyOccurrencies().GetByCountyIdentifier(county.Identifier);
                    Assert.IsNotNull(countyOccurrence);
                    Assert.AreEqual(county, countyOccurrence.County);
                }
            }
        }
 public static WebCounty GetOneCounty(WebServiceContext context)
 {
     return(GeographicManager.GetCounties(context)[0]);
 }
 public static List <WebCounty> GetSomeCounties(WebServiceContext context)
 {
     return(GeographicManager.GetCounties(context));
 }
 public static County GetCounty()
 {
     return(GeographicManager.GetCounties()[0]);
 }
 public static CountyList GetAllCounties()
 {
     return(GeographicManager.GetCounties());
 }