public EmergencyNotificationsHostedService(
     IOptions <NotificationWorkerOptions> options,
     ILogger <EmergencyNotificationsHostedService> logger,
     IEmergencyNotificationsQueueService queueService,
     IServiceProvider provider)
 {
     _options      = options.Value;
     _logger       = logger;
     _queueService = queueService;
     _provider     = provider;
 }
 public EmergencyNotificationsQueueService(IOptions <NotificationWorkerOptions> options)
 {
     _options = options.Value;
 }