public StockCommandHandler( IStockGroupRepository stockGroupRepository, IEventBus eventBus, IStockExchangeService stockExchangeService, IWalletRepository walletRepository, ICustomEventStore eventStore, IStockGroupService stockGroupService) { _stockGroupRepository = stockGroupRepository; _eventBus = eventBus; _stockExchangeService = stockExchangeService; _walletRepository = walletRepository; _eventStore = eventStore; _stockGroupService = stockGroupService; }
public StockGroupEventHandler(ICustomEventStore eventStore, IStockGroupRepository stockGroupRepository) { _eventStore = eventStore; _stockGroupRepository = stockGroupRepository; }