コード例 #1
0
        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"));
        }
コード例 #2
0
        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"));
        }