public async Task <IActionResult> GetWeatherForecastFromServicePartial(GetWeatherForecastVM weatherForecastVM)
        {
            if (weatherForecastVM != null && weatherForecastVM.CityId != default)
            {
                weatherForecastVM.CityName        = Regex.Replace(weatherForecastVM.CityName, @"\t|\n|\r", "").TrimStart();
                weatherForecastVM.WeatherForecast = await _weatherForecastClient.GetCurrentWeatherForCityByCityId(weatherForecastVM.CityId);
            }

            return(PartialView(weatherForecastVM));
        }
        public async Task <IActionResult> GetWeatherForecastPartial()
        {
            var vm = new GetWeatherForecastVM()
            {
                CitiesServiceEndpoint      = _apiEndpoints.CitiesServiceApiUrl,
                CitiesServiceLocalEndpoint = _apiEndpoints.CitiesServiceLocalApiUrl
            };

            return(PartialView(vm));
        }