public List <PersonaE> GetListaPersonas() { List <PersonaE> result = new List <PersonaE>(); result = PersonaN.GetListaPersonas(new Object[] { new SqlParameter("@Accion", "GETLISTA"), }); return(result); }
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); }