Пример #1
0
        public IActionResult TakeSurvey(SurveyModel sm)
        {
            if (!ModelState.IsValid)
            {
                return(View(sm));
            }

            surveyDAO.TakeSurvey(sm);
            return(RedirectToAction("FavParks"));
        }