public PaymentController(ICommandBus commandBus, IPaymentQueryService paymentQueryService)
 {
     _commandBus          = commandBus;
     _paymentQueryService = paymentQueryService;
 }
Example #2
0
        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;
 }