public ActionResult Index(ModelPublisher model) { if (ModelState.IsValid) { Publisher publisher = new Publisher(model.Name); singleton.AddPublisher(publisher); ViewBag.TablePublishers = singleton.GetPublisher; return(RedirectToAction("Show_Table")); } else { return(View()); } }