예제 #1
0
 public ActionResult Index(客戶資料SearchViewModel 客戶資料VM)
 {
     var data = customerData.SearchList(客戶資料VM);
     return View(data);
 }
예제 #2
0
 // GET: 客戶資料
 public ActionResult Index()
 {
     var data = customerData.All().Where(p => p.IsDelete != true).ToList();
     客戶資料SearchViewModel result = new 客戶資料SearchViewModel();
     result.客戶資料列表 = data;
     return View(result);
 }