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