Пример #1
0
        // GET: BasicSearch
        public ActionResult BasicSearch()
        {
            CWebInitailize ad = new CWebInitailize();

            ViewBag.InitialModel = ad.advancedInitial();
            CTakeKind tk = new CTakeKind();

            return(View(tk.takeAllKind()));
        }
Пример #2
0
        public ActionResult BasicSearch(bool ajax)
        {
            CTakeKind tk = new CTakeKind();

            if (ajax)
            {
                ViewBag.ajax = true;
            }
            return(View(tk.takeAllKind()));
        }