public FileContentMetadataRepository(IAzureBlobStoreClient azureBlobStoreClient, IOptionsSnapshot <AzurePlatformConfiguration> azurePlatformConfiguration, ILogger <FileContentMetadataRepository>?logger)
        {
            _logger = logger;

            _azureBlobStoreClient = azureBlobStoreClient ?? throw new ArgumentNullException(nameof(azureBlobStoreClient));

            if (azurePlatformConfiguration?.Value is null)
            {
                throw new ArgumentNullException(nameof(azurePlatformConfiguration));
            }

            var blobContainerName = azurePlatformConfiguration.Value.AzureBlobStorage?.ContainerName;

            if (string.IsNullOrWhiteSpace(blobContainerName))
            {
                throw new ApplicationException("The files blob container name is not set in the configuration");
            }

            _blobContainerName = blobContainerName;
        }