// GET: 客戶銀行資訊 public ActionResult Index(QueryOption query) { var 客戶銀行資訊 = blankRepository.Search(query.Keyword) .OrderBy(query.GetSortString()) .ToPagedList(query.Page, query.GetPageSize()); ViewBag.QueryOption = query; return(View(客戶銀行資訊)); }