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