예제 #1
0
 //EDIT GET
 public ActionResult Edit(int id)
 {
     return(View("_Edit", SellingHeaderRepo.GetById(id)));
 }
예제 #2
0
 //DELETE GET
 public ActionResult Delete(int id)
 {
     return(View("_Delete", SellingHeaderRepo.GetById(id)));
 }
 // GET api/<controller>/5
 public SellingHeaderViewModel Get(int id)
 {
     return(SellingHeaderRepo.GetById(id));
 }