public List<Payment> getPaymentsByRentalPaymentId(int rentalPaymentId) {
   return paymentRepository.findByRentalPaymentId(rentalPaymentId);
 }
 public List<Payment> getPayments() {
   return paymentRepository.findAll();
 }