public ReadModelComposerBackgroundService(IAccountsRepository accountsRepository, IMongoDatabase mongoDatabase , IHostingEnvironment env, ITaxLedgerRepository taxLedgerRepository, IFeeLedgerRepository feeLedgerRepository, IEventStoreConnection eventStoreConnection, UserCredentials userCredentials) { _accountsRepository = accountsRepository; _database = mongoDatabase; _env = env; _taxLedger = taxLedgerRepository.GetTaxLedger(); _feeLedger = feeLedgerRepository.GetFeeLedger(); _conn = eventStoreConnection; _adminCredentials = userCredentials; }
public TaxController(ITaxLedgerRepository taxLedgerRepository, IMongoDatabase mongoDatabase) { _taxLedgerRepository = taxLedgerRepository; _mongoDatabase = mongoDatabase; }