public ActionResult Commit(SurveyModel survey) { if (!ModelState.IsValid) { return(View("Survey", survey)); } surveyDAL.CommitSurvey(survey); return(RedirectToAction("SurveyResults")); }