public CancelReservationsCommandHandler(
     ILogger <CancelReservationsCommandHandler> logger,
     ICrawlerPrefetchService crawlerPrefetchService,
     IDateTimeProvider dateTimeProvider)
 {
     this.logger = logger ?? throw new ArgumentNullException(nameof(logger));
     this.crawlerPrefetchService = crawlerPrefetchService ?? throw new ArgumentNullException(nameof(crawlerPrefetchService));
     this.dateTimeProvider       = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider));
 }
 public ExplorePageCommandHandler(
     IDateTimeProvider dateTimeProvider,
     ILogger <ExplorePageCommandHandler> logger,
     ICrawlerAddressRegistrationService crawlerAddressRegistrationService,
     ICrawlerPrefetchService crawlerPrefetchService,
     IAppWriteRepository appRepository,
     IBundleWriteRepository bundleRepository,
     ISubWriteRepository subWriteRepository)
 {
     this.dateTimeProvider = dateTimeProvider ?? throw new ArgumentNullException(nameof(dateTimeProvider));
     this.logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     this.crawlerAddressRegistrationService = crawlerAddressRegistrationService ?? throw new ArgumentNullException(nameof(crawlerAddressRegistrationService));
     this.crawlerPrefetchService            = crawlerPrefetchService ?? throw new ArgumentNullException(nameof(crawlerPrefetchService));
     this.appRepository      = appRepository ?? throw new ArgumentNullException(nameof(appRepository));
     this.bundleRepository   = bundleRepository ?? throw new ArgumentNullException(nameof(bundleRepository));
     this.subWriteRepository = subWriteRepository ?? throw new ArgumentNullException(nameof(subWriteRepository));
 }