public DiscountController(ICommandBus commandBus, IDiscountQueryService discountQueryService, IProductQueryService productQueryService, IStoreQueryService storeQueryService) { _commandBus = commandBus; _discountQueryService = discountQueryService; _productQueryService = productQueryService; _storeQueryService = storeQueryService; }
public StoreController(IStoreQueryService storeQueryService, ILocationQueryService locationQueryService, IDiscountQueryService discountQueryService, ICommandBus commandBus) { _storeQueryService = storeQueryService; _locationQueryService = locationQueryService; _discountQueryService = discountQueryService; _commandBus = commandBus; }
public DiscountController(IDiscountQueryService discountQueryService, ICommandBus commandBus) { _discountQueryService = discountQueryService; _commandBus = commandBus; }