public UnitOfWork(CurrencyDBContext currencyDBContext, ICurrencyRepository currencyRepository, IRateTransactionRepository transactionsRepository) { this._context = currencyDBContext; this.Currencies = currencyRepository; this.RateTransactions = transactionsRepository; }
protected Repository(CurrencyDBContext context) { _context = context; }
public CurrencyRepository(CurrencyDBContext context) : base(context) { }
public RateTransactionRepository(CurrencyDBContext context) : base(context) { }