public IActionResult Detail(string id) { Park park = parkDAO.GetParkByCode(id); IList <Forecast> forecasts = parkDAO.GetFiveDay(id); string tempUnit = GetPreferredUnit(); return(View(new DetailViewModel(park, forecasts, tempUnit))); }