public ActionResult SearchPublisher(string search, string searchBook) { filter.SetSearchByName(s => s.Name, search); filter.SetSearchByName(GetPublisherBook, searchBook); filterContext.SetFilterResult(filter); return(RedirectToAction("TableInvoke", "Publisher")); }
public ActionResult SearchBookSearh(string search, string searchAuthor) { filter.SetSearchByName(s => s.Name, search); filter.SetSearchByName(GetFioAuthor, searchAuthor); filterContext.SetFilterResult(filter); return(RedirectToAction("TableInvoke", "Book")); }
public ActionResult Search(string search, List <Genre> listMany) { filter.SetSearchByName(GetFioAuthor, search); filter.SetMany(s => s.Genres, listMany); filterContext.SetFilterResult(filter); return(RedirectToAction("TableInvoke", "Author")); }