//GET : /Author/List public ActionResult List() { AuthorDataController controller = new AuthorDataController(); IEnumerable <Author> Authors = controller.ListAuthors(); return(View(Authors)); }
//GET : /Author/List public ActionResult List(string SearchKey = null) { AuthorDataController controller = new AuthorDataController(); IEnumerable <Author> Authors = controller.ListAuthors(SearchKey); return(View(Authors)); }