public RemoveLegalEntityCommandHandler( IValidator <RemoveLegalEntityCommand> validator, ILog logger, IEmployerAgreementRepository employerAgreementRepository, IMediator mediator, IAccountLegalEntityPublicHashingService accountLegalEntityHashingService, IHashingService hashingService, IGenericEventFactory genericEventFactory, IEmployerAgreementEventFactory employerAgreementEventFactory, IMembershipRepository membershipRepository, IEventPublisher eventPublisher, IEmployerCommitmentApi employerCommitmentApi) { _validator = validator; _logger = logger; _employerAgreementRepository = employerAgreementRepository; _mediator = mediator; _accountLegalEntityHashingService = accountLegalEntityHashingService; _hashingService = hashingService; _genericEventFactory = genericEventFactory; _employerAgreementEventFactory = employerAgreementEventFactory; _membershipRepository = membershipRepository; _eventPublisher = eventPublisher; _employerCommitmentApi = employerCommitmentApi; }
public SignEmployerAgreementCommandHandler( IMembershipRepository membershipRepository, IEmployerAgreementRepository employerAgreementRepository, IHashingService hashingService, IValidator <SignEmployerAgreementCommand> validator, IEmployerAgreementEventFactory agreementEventFactory, IGenericEventFactory genericEventFactory, IMediator mediator) { _membershipRepository = membershipRepository; _employerAgreementRepository = employerAgreementRepository; _hashingService = hashingService; _validator = validator; _agreementEventFactory = agreementEventFactory; _genericEventFactory = genericEventFactory; _mediator = mediator; }