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));
 }
Esempio n. 2
0
 internal CatalogueSolutionsControllerBuilder WithUpdateOrderItemService(IUpdateOrderItemService updateOrderItemService)
 {
     _updateOrderItemService = updateOrderItemService;
     return(this);
 }