public IEnumerable <Cliente> Get()
 {
     using (var dbCliente = new ClienteRep())
     {
         return(dbCliente.GetAll().ToList());
     }
 }
Example #2
0
        public async Task <List <Cliente> > GetAll()
        {
            List <Cliente> lista = _repositorio.GetAll();

            return(lista);
        }