Esempio n. 1
0
        // GET: CustomerBankInformation
        public ActionResult Index(string Keyword, int page = 1)
        {
            var data = CustomerBankRepo.Search(Keyword).Include(p => p.客戶資料);

            ViewBag.Keyword = Keyword;
            var Result = data.ToPagedList(page, pageSize);

            return(View("Index2", Result));
        }
Esempio n. 2
0
        public ActionResult Search(string Keyword)
        {
            var data = CustomerBankRepo.Search(Keyword);

            return(View("Index", data));
        }