示例#1
0
        public ActionResult Forecast(string parkCode)
        {
            List <ParkWeatherModel> model = weatherDAL.GetAllWeather(parkCode);

            foreach (var temperature in model)
            {
                temperature.TemperatureType = Convert.ToString(Session[Session_Temperature]);
            }
            return(View("Forecast", model));
        }