public CreateNewPaymentCommandHandler(IPaymentRepository paymentRepository, IMerchantQuery merchantQuery, ICardQuery cardQuery, IRiskAnalysisService riskAnalysisService) { _paymentRepository = paymentRepository; _merchantQuery = merchantQuery; _cardQuery = cardQuery; _riskAnalysisService = riskAnalysisService; }
public CardController(IMediator mediator, IMerchantQuery merchantQuery, ICardQuery cardQuery) { _mediator = mediator; _merchantQuery = merchantQuery; _cardQuery = cardQuery; }
public PaymentController(IMediator mediator, IMerchantQuery merchantQuery, IPaymentQuery paymentQuery) { _mediator = mediator; _merchantQuery = merchantQuery; _paymentQuery = paymentQuery; }