Esempio n. 1
0
        // GET: Job
        public ActionResult Query(string name, int?pay)
        {
            ViewData["title"] = "職缺管理";
            var queryresult = EFService.Query(name, pay);

            return(View("Index", queryresult));
        }
Esempio n. 2
0
        public ActionResult Edit(Guid id)
        {
            var item = EFService.Query(id);

            if (item == null)
            {
                return(HttpNotFound());
            }
            return(View(item));
        }
Esempio n. 3
0
        // GET: Job
        public ActionResult Update(Guid id)
        {
            var result = EFService.Query(id);

            return(View("Edit", result));
        }