public ActionResult Eliminar(int id)
 {
     return(View("~/Views/Materia/Eliminar.cshtml", MateriaBusiness.ObtenerMateria(id)));
 }
Пример #2
0
 public ActionResult Detalles(int id)
 {
     return(View("~/Views/Alumno/Detalles.cshtml", MateriaBusiness.ObtenerMateria(id)));
 }
 public ActionResult Editar(int id)
 {
     ViewData["profesorLista"] = new SelectList(ProfesorBusiness.ObtieneListaProfesor(), "Id", "Apellido");
     return(View("~/Views/Materia/Editar.cshtml", MateriaBusiness.ObtenerMateria(id)));
 }