public ApprenticeshipContractTypeEarningsEventBuilder(IApprenticeshipContractTypeEarningsEventFactory factory, IRedundancyEarningService redundancyEarningService, IMapper mapper) { this.factory = factory ?? throw new ArgumentNullException(nameof(factory)); this.redundancyEarningService = redundancyEarningService ?? throw new ArgumentNullException(nameof(redundancyEarningService)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public FunctionalSkillEarningEventBuilder(IMapper mapper, IRedundancyEarningService redundancyEarningService) { this.mapper = mapper; this.redundancyEarningService = redundancyEarningService ?? throw new ArgumentNullException(nameof(redundancyEarningService)); }