예제 #1
0
        public IActionResult Index()
        {
            _logRama = new LogicRama();
            List <RamaInvestigacion> Ram = _logRama.ListaRamas(_con);

            return(View(Ram));
        }
예제 #2
0
        public IActionResult Create()
        {
            _logRama = new LogicRama();
            List <RamaInvestigacion> Ramas = _logRama.ListaRamas(_con);

            ViewBag.Ramas = Ramas;
            return(View(Ramas));
        }
예제 #3
0
        public ActionResult Create()
        {
            _logRama   = new LogicRama();
            _logAutor  = new LogicAutor();
            _logEtapa  = new LogicEtapaDeTesis();
            _logAsesor = new LogicAsesor();

            List <RamaInvestigacion> Ramas = _logRama.ListaRamas(_con);

            ViewBag.Ramas = Ramas;
            List <Autor> Tesistas = _logAutor.ListaAutores(_con);

            ViewBag.Autores = Tesistas;
            List <Asesor> Asesores = _logAsesor.ListaAsesores(_con);

            ViewBag.Asesores = Asesores;
            List <EtapaDeTesis> Etapas = _logEtapa.ListaEtapas(_con);

            ViewBag.Etapas = Etapas;

            return(View());
        }