예제 #1
0
        public IActionResult Advanced(string[] array)
        {
            string filter  = string.Join("|", array);
            var    sfilter = SearchFilter.FromString(filter);

            if (!sfilter.IsEmpty())
            {
                sfilter.Initialize(_context);
                sfilter.ApplyFilter();
                return(View(sfilter));
            }
            else
            {
                return(RedirectToAction("Search"));
            }
        }