public ActionResult Create(ActModel model) { if (ModelState.IsValid) { try { _adminData.CreateAct(model); _alert.Set(this, AlertType.Success, "Changes have been saved"); return(RedirectToAction("Index", "Performers")); } catch (Exception) { _alert.Set(this, AlertType.Error, "Unable to save changes"); } } return(View(model)); }