コード例 #1
0
        // GET: 客戶銀行資訊
        public ActionResult Index(string KeyWord)
        {
            var 客戶銀行資訊 = oRepository.GetAll(KeyWord).Include(客 => 客.客戶資料);

            return(View(客戶銀行資訊.ToList()));
        }
コード例 #2
0
        // GET: CustomerBank
        public ActionResult Index()
        {
            var result = customerBank.GetAll().Include(x => x.客戶資料);

            return(View(result));
        }