Esempio n. 1
0
        public ActionResult Index()
        {
            SelectList selectList = new SelectList(customerType.GetAll().ToList(), "Id", "類別名稱");

            ViewBag.CustType = selectList;

            return(View(customer.GetAll()));
        }
 // GET: 客戶銀行資訊/Create
 public ActionResult Create()
 {
     ViewBag.客戶Id = new SelectList(o客戶資料Repository.GetAll(), "Id", "客戶名稱");
     return(View());
 }
 // GET: CustomerContactPerson/Create
 public ActionResult Create()
 {
     ViewBag.客戶Id = new SelectList(customer.GetAll(), "Id", "客戶名稱");
     return(View());
 }
Esempio n. 4
0
 public ActionResult Index(string KeyWord)
 {
     return(View(oRepository.GetAll(KeyWord)));
 }