Beispiel #1
0
 public BonusCommands(
     IBonusRepository repository,
     BonusQueries bonusQueries,
     IEventBus eventBus,
     IBrandOperations brandOperations,
     IServiceBus serviceBus)
 {
     _repository      = repository;
     _bonusQueries    = bonusQueries;
     _eventBus        = eventBus;
     _brandOperations = brandOperations;
     _serviceBus      = serviceBus;
 }
Beispiel #2
0
 public BonusManagementCommands(
     IBonusRepository repository,
     BonusQueries bonusQueries,
     IActorInfoProvider actorInfoProvider,
     IEventBus eventBus,
     BonusMapper bonusMapper)
 {
     _repository        = repository;
     _bonusQueries      = bonusQueries;
     _actorInfoProvider = actorInfoProvider;
     _eventBus          = eventBus;
     _bonusMapper       = bonusMapper;
 }