public IActionResult Detail(string id)
        {
            Park       park = parkDAO.GetParkById(id);
            ParkSearch ps   = new ParkSearch();

            ps.park        = park;
            ps.WeatherList = parkDAO.GetWeatherByPark(id);

            ps.TempChoice = HttpContext.Session.GetString("tempChoice") ?? "F";

            return(View(ps));
        }
        public IActionResult Detail(string id, User user)
        {
            Park       park = parkDAO.GetParkById(id);
            ParkSearch ps   = new ParkSearch();

            ps.park        = park;
            ps.WeatherList = parkDAO.GetWeatherByPark(id);

            if (user.Id > 0)
            {
                user.TempPref = HttpContext.Session.GetString("tempChoice") ?? "F";
                ps.TempChoice = user.TempPref;
                //userDAO.UpdateUser(user);
            }
            else
            {
                ps.TempChoice = HttpContext.Session.GetString("tempChoice") ?? "F";
            }

            //ps.TempChoice = HttpContext.Session.GetString("tempChoice") ?? "F";

            return(View(ps));
        }