public async Task GetCurrentWeatherForecastTest()
        {
            string url    = "&q=london&units=metric";
            var    result = await _repository.GetCurrentWeatherForecast("london");

            _clientMock.Verify(client => client.Get <CurrentWeatherForecast>(url));
        }
        public async Task <IActionResult> GetCurrentWeatherForecast(string city)
        {
            var forecast = await _weatherForecastReposioty.GetCurrentWeatherForecast(city);

            if (string.IsNullOrEmpty(forecast.CityName))
            {
                return(NotFound());
            }
            return(Ok(forecast));
        }