Exemple #1
0
 public ConfirmToGoOrderHandler(
     IValidator <ConfirmToGoOrder> validator,
     IEventBus eventBus,
     IMapper mapper,
     IToGoOrderRepository toGoOrderRepository)
     : base(validator, eventBus, mapper, toGoOrderRepository)
 {
 }
Exemple #2
0
 protected BaseOrderHandler(
     IValidator <TCommand> validator,
     IEventBus eventBus,
     IMapper mapper,
     IToGoOrderRepository toGoOrderRepository)
     : base(validator, eventBus, mapper)
 {
     ToGoOrderRepository = toGoOrderRepository;
 }
 public CompleteToGoOrderHandler(
     IValidator <CompleteToGoOrder> validator,
     IEventBus eventBus,
     IMapper mapper,
     IToGoOrderRepository toGoOrderRepository,
     IBaristaRepository baristaRepository)
     : base(validator, eventBus, mapper, toGoOrderRepository)
 {
     _baristaRepository = baristaRepository;
 }
Exemple #4
0
 public OrderToGoHandler(
     IValidator <OrderToGo> validator,
     IEventBus eventBus,
     IMapper mapper,
     IMenuItemsService menuItemsService,
     IToGoOrderRepository toGoOrderRepository)
     : base(validator, eventBus, mapper)
 {
     _menuItemsService    = menuItemsService;
     _toGoOrderRepository = toGoOrderRepository;
 }