public IActionResult Index() { _logRama = new LogicRama(); List <RamaInvestigacion> Ram = _logRama.ListaRamas(_con); return(View(Ram)); }
public IActionResult Create() { _logRama = new LogicRama(); List <RamaInvestigacion> Ramas = _logRama.ListaRamas(_con); ViewBag.Ramas = Ramas; return(View(Ramas)); }
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()); }