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

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

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

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