public ActionResult SearchBook(List <Genre> listMany, List <Language> listManyLanguage) { filter.SetMany(s => s.Genres, listMany); filter.SetMany(s => s.Languages, listManyLanguage); 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")); }