/// <summary> /// /// </summary> /// <exception cref="Api.Client.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>Task of List<WeatherForecast></returns> public async System.Threading.Tasks.Task <List <WeatherForecast> > WeatherForecastGetAsync() { Api.Client.Sdk.Client.ApiResponse <List <WeatherForecast> > localVarResponse = await WeatherForecastGetAsyncWithHttpInfo(); return(localVarResponse.Data); }
/// <summary> /// /// </summary> /// <exception cref="Api.Client.Sdk.Client.ApiException">Thrown when fails to make API call</exception> /// <returns>List<WeatherForecast></returns> public List <WeatherForecast> WeatherForecastGet() { Api.Client.Sdk.Client.ApiResponse <List <WeatherForecast> > localVarResponse = WeatherForecastGetWithHttpInfo(); return(localVarResponse.Data); }