public IActionResult TakeSurvey(SurveyModel sm) { if (!ModelState.IsValid) { return(View(sm)); } surveyDAO.TakeSurvey(sm); return(RedirectToAction("FavParks")); }