public bool ReloadTodayRates() { var rates = this.LoadTodayRates(); var dao = new ExchangeRateDao(); dao.InsertOrUpdate(rates); return(true); }
public void Execute() { var doa = new ExchangeRateDao(); var data = doa.Select(); if (ExcuteEvent != null) { ExcuteEvent(data); } }
public List <ExchangeRateTable> GetTodayRates() { var dao = new ExchangeRateDao(); return(dao.Select()); }