Ejemplo n.º 1
0
        //Edit
        public ActionResult EditPrisoner(int id)
        {
            Prisoner ptemp = PrisonerCRUD.GetPrisoner(id);

            return(PartialView("_EditPrisoner", ptemp));
        }
Ejemplo n.º 2
0
 public ActionResult PrisonerDetails(int id)
 {
     return(View(new Tuple <Prisoner, List <Punishment> >(PrisonerCRUD.GetPrisoner(id), PunishmentCRUD.GetAllPunishments())));
 }