Exemple #1
0
        // GET: TwoPlayer
        public ActionResult DemoPlayer()
        {
            CWebInitailize ad = new CWebInitailize();

            ViewBag.InitialModel = ad.advancedInitial();
            return(View());
        }
Exemple #2
0
        //第一次進入網站會讀這個(會讀取母框架)
        public ActionResult Main()
        {
            //為了進階搜尋內的選項,所以將可選擇的項目在一開始就初始化完畢(最好每個頁面都實作?)
            CWebInitailize ad = new CWebInitailize();

            ViewBag.InitialModel = ad.advancedInitial();
            return(View());
        }
Exemple #3
0
        // GET: BasicSearch
        public ActionResult BasicSearch()
        {
            CWebInitailize ad = new CWebInitailize();

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

            return(View(tk.takeAllKind()));
        }