public ActionResult Insert(Singer model) { if (ModelState.IsValid) { repository.Insert(model); return(RedirectToAction("Index", "Singer")); } return(View()); }