public ActionResult Index(Feedback feedBack) { var dao = new FeedbackDAO(); if (ModelState.IsValid) { if (dao.InsertFeedback(feedBack)) { return(RedirectToAction("Index")); } else { ModelState.AddModelError("", "Have an error when add feedback"); } } return(View()); }