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