public GenericRepository(CurrencyExchangeContext currencyExchangeContext) { _currencyExchangeContext = currencyExchangeContext; _dbSet = currencyExchangeContext.Set <TEntity>(); }
public UnitOfWork(CurrencyExchangeContext currencyExchangeContext) { _currencyExchangeContext = currencyExchangeContext; _repositories = new ConcurrentDictionary <Type, object>(); }