示例#1
0
 public List <Persona> getAll()
 {
     try
     {
         return(personaData.GetAll());
     }
     catch (Exception exc)
     {
         throw;
     }
 }
示例#2
0
 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;
     }
 }
示例#3
0
 public List <Persona> GetAll()
 {
     return(PersonaData.GetAll());
 }
示例#4
0
        public List <Persona> GetAll()
        {
            List <Persona> pers = data.GetAll();

            return(pers);
        }
示例#5
0
        public List <Persona> GetAll()
        {
            PersonaAdapter persona = new PersonaAdapter();

            return(persona.GetAll());
        }