Esempio n. 1
0
        public ActionResult Index()
        {
            var admsDAO = new AdmDAO();
            var adms    = admsDAO.ListarAdm();

            ViewBag.Adm = adms;
            return(View());
        }
Esempio n. 2
0
        public ActionResult ListarAdministrador()
        {
            IList <Administrador> adms = admsDAO.ListarAdm();

            return(View(adms));
        }