Пример #1
0
        // GET: Saber
        public ActionResult Index()
        {
            List <Saber> finalSaber = Saberes.LeerTodo();

            if (finalSaber == null)
            {
                finalSaber = new List <Saber>();
            }

            return(View(finalSaber));
        }
Пример #2
0
        public ActionResult SubTablaSaberes()
        {
            List <Saber> finalsaberes = Saberes.LeerTodo();

            if (finalsaberes == null)
            {
                finalsaberes = new List <Saber>();
            }

            return(View(finalsaberes));
        }