public ActionResult Search(String type, String content) { List <ProblemEntity> list = ProblemManager.GetProblemBySearch(type, content); ViewBag.SearchType = type; ViewBag.Content = content; return(View(list)); }