Пример #1
0
        private void btnGeoCodeDealers_Click(object sender, RoutedEventArgs e)
        {
            List <Dealer> _dealers = DealerService.GetAll();

            foreach (Dealer _dealer in _dealers)
            {
                BingGeoCoder.GeocodeDealer(_dealer);
                DealerService.Save(_dealer);
            }
        }