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