Esempio n. 1
0
 internal AdvertCommandHandler(AdvertRepository repository, IMessageBroker <Advert> messageBroker)
 {
     Repository     = repository;
     _messageBroker = messageBroker;
 }
Esempio n. 2
0
 public UpdateAdvertCommandHandler(AdvertRepository repository, IAdvertFactory factory) : base(repository)
 {
     _factory = factory;
 }
Esempio n. 3
0
 public PostedAdvertsController(ICommandMediator commandMediator, AdvertRepository repository)
 {
     _command = commandMediator;
     _query   = repository;
 }
Esempio n. 4
0
 internal AdvertCommandHandler(AdvertRepository repository)
 {
     Repository = repository;
 }
Esempio n. 5
0
 public PostAdvertCommandHandler(AdvertRepository repository, IMessageBroker <Advert> messageBroker)
     : base(repository, messageBroker)
 {
 }
Esempio n. 6
0
 public StockUpdatedCommandHandler(AdvertRepository repository, IMessageBroker <Advert> messageBroker)
     : base(repository, messageBroker)
 {
 }
Esempio n. 7
0
 public AdvertsController(ICommandMediator commandMediator, AdvertRepository repository)
 {
     _commandMediator = commandMediator;
     _queryMediator   = repository;
 }
Esempio n. 8
0
 public WithdrawAdvertCommandHandler(AdvertRepository repository)
     : base(repository)
 {
 }
 public WithdrawnAdvertsController(AdvertRepository repository)
 {
     _query = repository;
 }