Пример #1
0
 public CreateNewPaymentCommandHandler(IPaymentRepository paymentRepository, IMerchantQuery merchantQuery, ICardQuery cardQuery, IRiskAnalysisService riskAnalysisService)
 {
     _paymentRepository   = paymentRepository;
     _merchantQuery       = merchantQuery;
     _cardQuery           = cardQuery;
     _riskAnalysisService = riskAnalysisService;
 }
Пример #2
0
 public CardController(IMediator mediator, IMerchantQuery merchantQuery, ICardQuery cardQuery)
 {
     _mediator = mediator;
     _merchantQuery = merchantQuery;
     _cardQuery = cardQuery;
 }
Пример #3
0
 public PaymentController(IMediator mediator, IMerchantQuery merchantQuery, IPaymentQuery paymentQuery)
 {
     _mediator      = mediator;
     _merchantQuery = merchantQuery;
     _paymentQuery  = paymentQuery;
 }