Пример #1
0
        public static Rol Rol_Leer(int idRol, string nombreRol)
        {
            DTRol      dtRol    = new DTRol();
            Rol        DatosRol = new Rol();
            List <Rol> RolLeer  = dtRol.Rol_Leer(idRol, nombreRol);

            foreach (Rol rol in RolLeer)
            {
                DatosRol = rol;
            }
            return(DatosRol);
        }
Пример #2
0
        public static List <Rol> Rol_LeerTodo(int idRol, string nombreRol)
        {
            DTRol dtRol = new DTRol();

            return(dtRol.Rol_Leer(idRol, nombreRol));
        }