public StorageService(JsonSerializerService jsonSerializerService, ILoggerFactory loggerFactory)
        {
            _jsonSerializerService = jsonSerializerService ?? throw new ArgumentNullException(nameof(jsonSerializerService));

            if (loggerFactory == null)
            {
                throw new ArgumentNullException(nameof(loggerFactory));
            }
            _logger = loggerFactory.CreateLogger <StorageService>();
        }
        public StorageService(JsonSerializerService jsonSerializerService, ILogger <StorageService> logger)
        {
            _jsonSerializerService = jsonSerializerService ?? throw new ArgumentNullException(nameof(jsonSerializerService));
            _logger = logger ?? throw new ArgumentNullException(nameof(logger));

            var paths = new StoragePaths();

            BinPath  = paths.BinPath;
            DataPath = paths.DataPath;

            _logger.Log(LogLevel.Information, $"Bin path  = {BinPath}");
            _logger.Log(LogLevel.Information, $"Data path = {DataPath}");
        }