public async Task <List <ICurrency> > GetAllCurrencies(CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); DbDataReader reader = dbCurrency.GetAll(); return(LoadCurrencyListFromReader(reader)); }
public async Task <List <ICurrency> > GetAllCurrencies() { DbDataReader reader = dbCurrency.GetAll(); return(LoadCurrencyListFromReader(reader)); }