// GET: 客戶聯絡人 public ActionResult Index(string keyword, string title) { var data = repo.GetList(keyword, title); ViewBag.title = title; ViewBag.keyword = keyword; return(View(data.ToList())); }