public ActionResult ComboCarrerasCursoPartial(int?idFacultad)
 {
     if (SecurityHelper.GetAdministradorID() > 0)
     {
         ConsultaViewModel model = new ConsultaViewModel();
         model.ListaCarreras = carreraDataAccess.GetListaCarrerasByIdFacultad(idFacultad);
         return(PartialView(model));
     }
     else
     {
         return(RedirectToAction("Index", "Login", new { Area = "" }));
     }
 }
 public ActionResult ListaCarrerasView(int?idFacultad)
 {
     if (SecurityHelper.GetAdministradorID() > 0 && SecurityHelper.GetAdministradorRol() == "Administrador General")
     {
         HorarioViewModel model = new HorarioViewModel();
         model.ListaCarreras = carreraDataAccess.GetListaCarrerasByIdFacultad(idFacultad);
         return(PartialView(model));
     }
     else
     {
         return(RedirectToAction("Index", "Login", new { Area = "" }));
     }
 }