public List <Persona> getAll() { try { return(personaData.GetAll()); } catch (Exception exc) { throw; } }
public List <Persona> GetAll() { try { List <Persona> persona = personaAdapter.GetAll(); return(persona); } catch (Exception Ex) { Exception ExcepcionManejada = new Exception("Error al recuperar lista de personas", Ex); throw ExcepcionManejada; } }
public List <Persona> GetAll() { return(PersonaData.GetAll()); }
public List <Persona> GetAll() { List <Persona> pers = data.GetAll(); return(pers); }
public List <Persona> GetAll() { PersonaAdapter persona = new PersonaAdapter(); return(persona.GetAll()); }