// GET: Alumno public ActionResult Inicio() { if (SessionManagement.IdUsuario != null && SessionManagement.Nombre != null && SessionManagement.Rol != null) { InicioAlumnoViewModel modelo = new InicioAlumnoViewModel(); modelo.UltimasPreguntasCorregidas = alumnoService.ObtenerPreguntasUltimaClase(); modelo.TablaDePosiciones = alumnoService.ObtenerLosDoceAlumnosConMejorPuntajeTotal(); modelo.PreguntasSinResponder = preguntaAlumnoService.ObtenerTodasLasPreguntasSinResponder(Convert.ToInt32(Session["Id"])); return(View(modelo)); } return(Redirect("~/")); }