public CatalogueSolutionsController( IOrderRepository orderRepository, ICreateOrderItemService createOrderItemService, IUpdateOrderItemService updateOrderItemService) { _orderRepository = orderRepository ?? throw new ArgumentNullException(nameof(orderRepository)); _createOrderItemService = createOrderItemService ?? throw new ArgumentNullException(nameof(createOrderItemService)); _updateOrderItemService = updateOrderItemService ?? throw new ArgumentNullException(nameof(updateOrderItemService)); }
internal CatalogueSolutionsControllerBuilder WithUpdateOrderItemService(IUpdateOrderItemService updateOrderItemService) { _updateOrderItemService = updateOrderItemService; return(this); }