private void DoWork() { CurrencyIO currencyIO = new CurrencyIO(); currencyIO.GetAllCurrenciesAndUpdate(); GlobalMarketViewIO marketViewIO = new GlobalMarketViewIO(); marketViewIO.GetGlobalMarketView(); }
private void Timer_Elapsed(object sender, ElapsedEventArgs e) { CurrencyIO currencyIO = new CurrencyIO(); currencyIO.GetAllCurrenciesAndUpdate(); GlobalMarketViewIO globalMarketViewIO = new GlobalMarketViewIO(); globalMarketViewIO.GetGlobalMarketView(); }