public ActionResult Index(FeedbackViewModel feedbackViewModel) { if (!ModelState.IsValid) { return(View(feedbackViewModel)); } TempData["FeedbackResult"] = feedbackViewModel.AddMessageToDatabase(feedbackViewModel); return(RedirectToAction("Index")); }