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(); }
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(); }