Пример #1
0
        //Get: Deatil Page <--one park by the park code/id
        public ActionResult Detail(string parkID)
        {
            Park p = new Park();

            Park ps = new Park();

            p              = dal.GetPark(parkID);
            p.weather      = dal.Weather(parkID);
            p.IsFahrenheit = true;
            return(View("Detail", p));
        }