public ProviderService(
            ILogger <ProviderService> logger,
            HttpClient httpClient,
            IOptions <ProviderServiceSettings> settings)
        {
            if (logger == null)
            {
                throw new ArgumentNullException(nameof(logger));
            }

            if (httpClient == null)
            {
                throw new ArgumentNullException(nameof(httpClient));
            }

            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }


            _logger     = logger;
            _settings   = settings.Value;
            _httpClient = httpClient;

            _getProviderByPRNUri      = settings.Value.ToGetProviderByPRNUri();
            _updateProviderByIdUri    = settings.Value.ToUpdateProviderByIdUri();
            _updateProviderDetailsUri = settings.Value.ToUpdateProviderDetailsUri();
        }
        public ProviderService(
            ILogger <ProviderService> logger,
            HttpClient httpClient,
            IOptions <ProviderServiceSettings> settings)
        {
            Throw.IfNull(logger, nameof(logger));
            Throw.IfNull(httpClient, nameof(httpClient));
            Throw.IfNull(settings, nameof(settings));

            _logger     = logger;
            _settings   = settings.Value;
            _httpClient = httpClient;

            _getProviderByPRNUri      = settings.Value.ToGetProviderByPRNUri();
            _updateProviderByIdUri    = settings.Value.ToUpdateProviderByIdUri();
            _updateProviderDetailsUri = settings.Value.ToUpdateProviderDetailsUri();
        }