public PaymentApplicationService( IFindPaymentRepository paymentRepository, INotificationHandler <DomainNotification> notifications, IMediatorHandler mediatorHandler, IMapper typeMapper, IAdaptEntityToViewModel <Payment, PaymentViewModel> paymentAdapter ) { this.paymentRepository = paymentRepository; this.notifications = (DomainNotificationHandler)notifications; this.mediatorHandler = mediatorHandler; this.typeMapper = typeMapper; this.paymentAdapter = paymentAdapter; }
public PaymentEventHandler( IFindPaymentRepository findPaymentRepository) { this.findPaymentRepository = findPaymentRepository; }