public AddOrderCommandHandler(IUserQueryService userQueryService, IShipmentQueryService shipmentQueryService, IOrderDiscountQueryService orderDiscountQueryService, IProductOrderQueryService productOrderQueryService, IOrderCommandService orderCommandService) { this.userQueryService = userQueryService; this.shipmentQueryService = shipmentQueryService; this.orderDiscountQueryService = orderDiscountQueryService; this.productOrderQueryService = productOrderQueryService; this.orderCommandService = orderCommandService; }
public OrdersController( IProductQueryService productService, ICustomerQueryService customerService, IOrderCommandService commandService, IOrderQueryService queryService) { _customerService = customerService; __productService = productService; _command = commandService; _query = queryService; }
public AddOrderCommandHandler(IUserQueryService userQueryService, IShipmentQueryService shipmentQueryService, IOrderDiscountQueryService orderDiscountQueryService, IProductOrderQueryService productOrderQueryService, IOrderCommandService orderCommandService, IEmailService emailService, IMapper mapper) { this.userQueryService = userQueryService; this.shipmentQueryService = shipmentQueryService; this.orderDiscountQueryService = orderDiscountQueryService; this.productOrderQueryService = productOrderQueryService; this.orderCommandService = orderCommandService; this.emailService = emailService; this.mapper = mapper; }
public UpdateOrderCommandHandler(IOrderCommandService orderCommandService) { this.orderCommandService = orderCommandService; }