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