// GET: 客戶銀行資訊 public ActionResult Index(string keyword) { var data = repo.GetList(keyword); ViewBag.keyword = keyword; return(View(data.ToList())); }
// GET: 客戶銀行資訊 public ActionResult Index(string keyword) { //var 客戶銀行資訊 = db.客戶銀行資訊.Include(客 => 客.客戶資料); //return View(客戶銀行資訊.Where(p => false == p.是否已刪除).ToList()); var data = repo.GetList(keyword); return(View(data.ToList())); }