public Location GetLatitudeAndLongitude(string locationName)
        {
            var geocoder = new GeocodeService();

            // geocode the location of the White House
            return(geocoder.GeocodeLocation(locationName));
        }
        public string GetLatitudeAndLongitudeString(string locationName, bool cacheOnly = true)
        {
            // check to see if that name is a in the cahce already.
            string locat = string.Empty;

            /*if (_geocoderStore.TryGetLocation(locationName, out locat))
             * {
             *  return locat;
             * }
             * if (cacheOnly)
             *  return locat;
             */
            Location loc = new Location
            {
                Latitude  = 20,
                Longitude = 20
            };

            try
            {
                // geocode the location of the White House
                loc = _geocodeService.GeocodeLocation(locationName);
            }
            catch (Exception ex)
            {
                // Console.WriteLine("Failed to parse location for " + locationName);
                return(string.Empty);
            }

            string str  = $"lat: {loc.Latitude}, lng: {loc.Longitude}";
            string str2 = "{" + str + "}";

            _geocoderStore.Add(locationName, str2);
            Save();
            return(str2);
        }