public HttpResponseMessage Post([FromBody] WeatherCity weathercityModel) { DatabaseQueryWeather.addWeatherForACity(weathercityModel); return(Request.CreateResponse(HttpStatusCode.OK)); }
public HttpResponseMessage Post([FromBody] WeatherCity weathercityModel) { DatabaseQueryWeather.addWeatherForACity(weathercityModel); return(Request.CreateResponse(HttpStatusCode.OK)); }