public StatisticsService(ILogger <StatisticsService> logger, IDeviceService deviceService, IDataOverTimeStorage dataStorage, StatisticsServiceConfiguration configuration) { _logger = logger; _dataStorage = dataStorage; _deviceService = deviceService; _configuration = configuration; }
public StatisticsService(ILogger <StatisticsService> logger, IDeviceService deviceService, StatisticsServiceConfiguration configuration) : this(logger, deviceService, new LiteDbDataStorage(configuration.StoragePath), configuration) { }