public ActionResult Index(FormAlertViewModel model) { if (!ModelState.IsValid) { return(View(model)); } TempData["FormSuccess"] = "New alert has been reported successfully!"; alertManager.Add(model); return(RedirectToAction("Index")); }