Exemple #1
0
        public ActionResult Evento_UsuarioCreate()
        {
            using (EventoDAL dal = new EventoDAL())
            {
                ViewBag.Eventos = dal.ReadAll();
            }

            using (UsuarioDAL dal = new UsuarioDAL())
            {
                ViewBag.Usuarios = dal.ReadAll();
            }

            using (StatusDAL dal = new StatusDAL())
            {
                ViewBag.Status = dal.ReadAll();
            }

            return(View());
        }