Exemple #1
0
        public bool ReloadTodayRates()
        {
            var rates = this.LoadTodayRates();

            var dao = new ExchangeRateDao();

            dao.InsertOrUpdate(rates);

            return(true);
        }
Exemple #2
0
        public void Execute()
        {
            var doa  = new ExchangeRateDao();
            var data = doa.Select();

            if (ExcuteEvent != null)
            {
                ExcuteEvent(data);
            }
        }
Exemple #3
0
        public List <ExchangeRateTable> GetTodayRates()
        {
            var dao = new ExchangeRateDao();

            return(dao.Select());
        }