Example #1
0
        public List <PersonaE> GetListaPersonas()
        {
            List <PersonaE> result = new List <PersonaE>();


            result = PersonaN.GetListaPersonas(new Object[] {
                new SqlParameter("@Accion", "GETLISTA"),
            });

            return(result);
        }
Example #2
0
        public List <PersonaE> GetListaPersonasEmp(int id_emp)
        {
            List <PersonaE> result = new List <PersonaE>();


            result = PersonaN.GetListaPersonas(new Object[] {
                new SqlParameter("@Accion", "PERSOEMP"),
                new SqlParameter("@Id_Empresa", id_emp)
            });

            return(result);
        }