Пример #1
0
 public CurrenciesService(CurrenciesDbContext dbContext, ICurrenciesExternalService currenciesExternalService)
 {
     UnitOfWork = new UnitOfWorkService(dbContext);
     _currenciesExternalService = currenciesExternalService;
 }
Пример #2
0
 public CurrencyRepository(CurrenciesDbContext context)
 {
     _context = context;
 }
Пример #3
0
 public EfCurrencyRepository(CurrenciesDbContext dbContext,
                             ILocalizationManager localizationManager)
 {
     _dbContext           = dbContext;
     _localizationManager = localizationManager;
 }