public ConfirmToGoOrderHandler( IValidator <ConfirmToGoOrder> validator, IEventBus eventBus, IMapper mapper, IToGoOrderRepository toGoOrderRepository) : base(validator, eventBus, mapper, toGoOrderRepository) { }
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; }
public OrderToGoHandler( IValidator <OrderToGo> validator, IEventBus eventBus, IMapper mapper, IMenuItemsService menuItemsService, IToGoOrderRepository toGoOrderRepository) : base(validator, eventBus, mapper) { _menuItemsService = menuItemsService; _toGoOrderRepository = toGoOrderRepository; }