Пример #1
0
        public IActionResult AddNewSurvey(SurveyViewModel surveyViewModel)
        {
            _db.AddNewSurvey(surveyViewModel.Survey);
            var parkSurveyList = _db.GetSurveyParkList();

            return(RedirectToAction("Index", parkSurveyList));
        }