private bool ConfigureHttpClient()
        {
            string configBaseUrl;

            try
            {
                configBaseUrl = _jsonReader.ReadBaseUrl();
            }
            catch (DataAccessException exception)
            {
                Console.WriteLine($"Exception occured: {exception.Message}");
                return(false);
            }

            try
            {
                HttpClient.BaseAddress = new Uri(configBaseUrl);
            }
            catch (Exception exception)
            {
                if (exception is ArgumentNullException ||
                    exception is UriFormatException)
                {
                    Console.WriteLine($"Exception occured: {exception.Message}");
                    return(false);
                }

                throw;
            }

            return(true);
        }