public ActionResult AddAuthor(Author author) { if (ModelState.IsValid) { authorBLL.Add(author); return(RedirectToAction("Index")); } else { return(View("Index", author)); } }