コード例 #1
0
 // GET api/<controller>/5
 public JobPositionViewModel Get(int id)
 {
     return(JobPositionRepo.GetById(id));
 }
コード例 #2
0
 //GET Edit
 public ActionResult Edit(int Id)
 {
     //ViewBag.DivisionList = new SelectList(DivisionRepo.Get(), "Id", "Description");
     return(View("_Edit", JobPositionRepo.GetById(Id)));
 }
コード例 #3
0
 //GET DELETE
 public ActionResult Delete(int id)
 {
     return(View("_Delete", JobPositionRepo.GetById(id)));
 }
コード例 #4
0
 //GET EDIT
 public ActionResult Edit(int id)
 {
     return(View("_Edit", JobPositionRepo.GetById(id)));
 }