Beispiel #1
0
        public ActionResult Index(string returnUrl)
        {
            //logger.Trace("進入首頁");
            EmpService empService = new EmpService();

            return(View(empService.Get()));
        }
 // GET: Admin/Advertise/Create
 public ActionResult Create()
 {
     ViewBag.empNo = new SelectList(EmpService.Get(), "empno", "empname");
     ViewBag.shNo  = new SelectList(ShopService.Get(), "shno", "shthepic");
     return(View());
 }
Beispiel #3
0
 // GET: Admin/Shop/Create
 public ActionResult Create()
 {
     ViewBag.empno     = new SelectList(EmpService.Get(), "empno", "empname");
     ViewBag.shclassno = new SelectList(ShClassService.Get(), "shclassno", "shclassname");
     return(View());
 }