// GET: BasicSearch public ActionResult BasicSearch() { CWebInitailize ad = new CWebInitailize(); ViewBag.InitialModel = ad.advancedInitial(); CTakeKind tk = new CTakeKind(); return(View(tk.takeAllKind())); }
public ActionResult BasicSearch(bool ajax) { CTakeKind tk = new CTakeKind(); if (ajax) { ViewBag.ajax = true; } return(View(tk.takeAllKind())); }