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