public RulesService(
     EformMonitoringPnDbContext dbContext,
     IMonitoringLocalizationService localizationService,
     IHttpContextAccessor httpContextAccessor,
     ILogger <RulesService> logger)
 {
     _dbContext           = dbContext;
     _localizationService = localizationService;
     _httpContextAccessor = httpContextAccessor;
     _logger = logger;
 }
 public MonitoringPnSettingsService(ILogger <MonitoringPnSettingsService> logger,
                                    IMonitoringLocalizationService monitoringLocalizationService,
                                    EformMonitoringPnDbContext dbContext,
                                    IPluginDbOptions <MonitoringBaseSettings> options,
                                    IHttpContextAccessor httpContextAccessor)
 {
     _logger                        = logger;
     _dbContext                     = dbContext;
     _options                       = options;
     _httpContextAccessor           = httpContextAccessor;
     _monitoringLocalizationService = monitoringLocalizationService;
 }