public void delete(Long id) {
   customerRepository.delete(id);
 }
 public void save(CustomerEntity customer) {
   customerRepository.save(customer);
 }
 public List<CustomerEntity> findAll() {
   return customerRepository.findAll();
 }
 public CustomerEntity findById(Long id) {
   return customerRepository.findOne(id);
 }