public AddOrderCommandHandler(IUserQueryService userQueryService, IShipmentQueryService shipmentQueryService, IOrderDiscountQueryService orderDiscountQueryService, IProductOrderQueryService productOrderQueryService, IAddressQueryService addressQueryService, IOrderCommandService orderCommandService, IEmailService emailService, IMapper mapper) { this.userQueryService = userQueryService; this.shipmentQueryService = shipmentQueryService; this.orderDiscountQueryService = orderDiscountQueryService; this.productOrderQueryService = productOrderQueryService; this.orderCommandService = orderCommandService; this.addressQueryService = addressQueryService; this.emailService = emailService; this.mapper = mapper; }
public CreateOrderCommandHandler(IUserQueryService userQueryService, IShipmentQueryService shipmentQueryService, IOrderDiscountQueryService orderDiscountQueryService, IProductOrderQueryService productOrderQueryService, IAddressQueryService addressQueryService, IOrderFactory orderFactory, IEmailService emailService, IPaymentsRepository paymentsRepository) { this.userQueryService = userQueryService; this.shipmentQueryService = shipmentQueryService; this.orderDiscountQueryService = orderDiscountQueryService; this.productOrderQueryService = productOrderQueryService; this.orderFactory = orderFactory; this.addressQueryService = addressQueryService; this.emailService = emailService; this.paymentsRepository = paymentsRepository; }
public GetUserAddressesQueryHandler(IAddressQueryService addressQueryService) { this.addressQueryService = addressQueryService; }