public BrokenExternalReferencesReportService( IBrokenExternalReferencesReportRepository repository, IAuthorizationContext authorizationContext, IBackgroundJobScheduler backgroundJobScheduler) { _repository = repository; _authorizationContext = authorizationContext; _backgroundJobScheduler = backgroundJobScheduler; }
public CreatePersonHandler(IApplicationDbContext dbContext, IEventPublisher eventPublisher, IBackgroundJobScheduler <IRequest> jobScheduler) { _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); _eventPublisher = eventPublisher ?? throw new ArgumentNullException(nameof(eventPublisher)); _jobScheduler = jobScheduler ?? throw new ArgumentNullException(nameof(jobScheduler)); }