public IActionResult Detail(string parkCode) { DetailViewModel vm = new DetailViewModel(); vm.Park = _dao.GetPark(parkCode); vm.Forecast = _dao.GetWeathers(parkCode); if (GetSessionData <bool>(UseCelciusKey)) { vm.PrefersFarenheit = false; } return(GetAuthenticatedView("Detail", vm)); }