Пример #1
0
 public void SetExchangeRate()
 {
     //GetCursOnDate(DateTime.Today());
     ExchangeRates rates = new ExchangeRates();
     Connection connect = new Connection();
     connect.Open();
     foreach (var k in rates.rates)
     {
         Exchange.SetExchangeRates(k.ISO4217from, k.ISO4217to, k.rate, connect._connect);
     }
     connect.Close();
 }
Пример #2
0
        public void SetExchangeRate()
        {
            //GetCursOnDate(DateTime.Today());
            ExchangeRates rates   = new ExchangeRates();
            Connection    connect = new Connection();

            connect.Open();
            foreach (var k in rates.rates)
            {
                Exchange.SetExchangeRates(k.ISO4217from, k.ISO4217to, k.rate, connect._connect);
            }
            connect.Close();
        }