コード例 #1
0
        public ActionResult RTESearch()
        {
            var lang = WebUtil.GetQueryString("lang");
            var db   = WebUtil.GetQueryString("db", "master");

            var ms = MediaSearchFactory.Create(db, lang, Searcher);

            return(View("RTESearch", ms));
        }
        public ActionResult SearchForm()
        {
            if (!IsSitecoreUser())
            {
                return(LoginPage());
            }

            var lang = WebUtil.GetQueryString("lang");
            var db   = WebUtil.GetQueryString("db", "master");

            var ms = MediaSearchFactory.Create(db, lang, SearchService);

            return(View("SearchForm", ms));
        }