예제 #1
0
        public ActionResult RegistrarTipoProdss()
        {
            var listaTipPro = oClase.ListarClase().ToList();

            ViewBag.ListaClases = new SelectList(listaTipPro, "IdClase", "NombClase");
            return(View());
        }
예제 #2
0
        // GET: Clase
        public ActionResult ListaClase()
        {
            List <ClaseBEAN> listClase = new List <ClaseBEAN>();

            listClase = oClasDAO.ListarClase();
            return(View(listClase));
        }