// GET: Job public ActionResult Query(string name, int?pay) { ViewData["title"] = "職缺管理"; var queryresult = EFService.Query(name, pay); return(View("Index", queryresult)); }
public ActionResult Edit(Guid id) { var item = EFService.Query(id); if (item == null) { return(HttpNotFound()); } return(View(item)); }
// GET: Job public ActionResult Update(Guid id) { var result = EFService.Query(id); return(View("Edit", result)); }