public PaymentController(ICommandBus commandBus, IPaymentQueryService paymentQueryService) { _commandBus = commandBus; _paymentQueryService = paymentQueryService; }
private IPaymentQueryService _paymentQueryService;//Q 端 public PaymentController(ICommandService commandService, IContextService contextService, IPaymentQueryService paymentQueryService) : base(commandService, contextService) { _paymentQueryService = paymentQueryService; }
public PaymentController(ICommandService commandService, IPaymentQueryService paymentQueryService) { this._commandService = commandService; this._paymentQueryService = paymentQueryService; }