public ActionResult topicSearch(string q) { SearchTopicModel stm = new SearchTopicModel(); stm.topic = model.selectByTContent(q); ViewBag.searchContent = q; return View(stm); }
public ActionResult topicSearch(string q) { SearchTopicModel stm = new SearchTopicModel(); stm.topic = model.selectByTContent(q); ViewBag.searchContent = q; return(View(stm)); }