コード例 #1
0
ファイル: SearchController.cs プロジェクト: NIZAOMA/nizaoma
 public ActionResult topicSearch(string q)
 {
     SearchTopicModel stm = new SearchTopicModel();
     stm.topic = model.selectByTContent(q);
     ViewBag.searchContent = q;
     return View(stm);
 }
コード例 #2
0
        public ActionResult topicSearch(string q)
        {
            SearchTopicModel stm = new SearchTopicModel();

            stm.topic             = model.selectByTContent(q);
            ViewBag.searchContent = q;
            return(View(stm));
        }