@Autowired

  // implémentation interface
  @Override
  public List<Client> getAllClients() {
    return Lists.newArrayList(clientRepository.findAll());
  }
 @Override
 public Client getClientById(long id) {
   return clientRepository.findOne(id);
 }