Beispiel #1
0
        public async Task <List <ICurrency> > GetAllCurrencies(CancellationToken cancellationToken = default(CancellationToken))
        {
            cancellationToken.ThrowIfCancellationRequested();
            DbDataReader reader = await dbCurrency.GetAll(cancellationToken);

            return(LoadCurrencyListFromReader(reader));
        }
Beispiel #2
0
        public async Task <List <ICurrency> > GetAllCurrencies()
        {
            DbDataReader reader = await dbCurrency.GetAll();

            return(LoadCurrencyListFromReader(reader));
        }