public CreatePaymentCommandHandler( IPaymentFactory paymentFactory, IPaymentDomainRepository paymentRepository) { _paymentFactory = paymentFactory; _paymentRepository = paymentRepository; }
public DeletePaymentCommandHandler(IPaymentDomainRepository paymentRepository) { _paymentRepository = paymentRepository; }
public PaymentsController(IBus publisher, IPaymentService paymentService, IPaymentDomainRepository paymentRepository) { _publisher = publisher; _paymentService = paymentService; _paymentRepository = paymentRepository; }