public ActionResult RevisarDocente() { if (Session[CodPrs] != null) { if (Autentificacion.IsAutentifica(Session[CodPrs].ToString(), Session[usr_cmb_web].ToString())) { ViewBag.nombreDoc = Session[nombreDoc]; ViewBag.Menu = Session[Smenu]; lstObs = EventObservacion.CabMensajes(System.Convert.ToInt32(Session[CodPrs])); ViewBag.tipoUsuario = "Coordinador"; ViewBag.Msg = lstObs.Count; ViewBag.Smsglst = lstObs; return(View()); } } return(RedirectToAction("LogOff", "LogOn")); }
public ActionResult Actividad() { if (Session[CodPrs] != null) { if (Autentificacion.IsAutentifica(Session[CodPrs].ToString(), Session[usr_cmb_web].ToString())) { ViewBag.nombreDoc = Session[nombreDoc]; ViewBag.Menu = Session[Smenu]; ViewBag.tipoUsuario = "Docente"; lstObs = EventObservacion.CabMensajes(System.Convert.ToInt32(Session[CodPrs])); //lstObservaciones = observacionesQry.RecuperarObservacioDocente(System.Convert.ToInt32(Session[CodPrs])); //Session[Smsg] = lstObservaciones.Count; ViewBag.Msg = lstObs.Count; ViewBag.Smsglst = lstObs; return(View()); } } return(RedirectToAction("LogOff", "LogOn")); }