コード例 #1
0
 public ActionResult Index()
 {
     QueryViewModel query = new QueryViewModel();
     query.CUS_Ordes = context.GetByCusID("ALFKI");
     //保存下拉清單資料
     ViewBag.CustomerLists = GetCustomerDropDown("ALFKI");
     return View(query);
 }
コード例 #2
0
 public ActionResult Index(QueryViewModel param)
 {
     string _param = param.QUERY_PARAM.CustomerID;
     QueryViewModel query = new QueryViewModel();
     query.CUS_Ordes = context.GetByCusID(_param);
     //保存下拉清單資料
     ViewBag.CustomerLists = GetCustomerDropDown(_param);
     return View(query);
 }