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