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