public IActionResult Detail(string parkCode, string unitButton) { ChangeTemp(unitButton); Park park = parkDAO.FindUserParkChoice(parkCode); WeatherParkViewModel weatherPark = new WeatherParkViewModel(); weatherPark.Park = park; weatherPark.Weathers = weatherDAO.GetWeatherAssociatedWithPark(parkCode); weatherPark.Scale = HttpContext.Session.GetString("Scale"); return(View(weatherPark)); }