public void newRefund(Product p, int unitats, String reason) {
   Refund r = new Refund(refundsRepository.newId(), p, unitats, reason);
   refundsRepository.insert(r);
 }
 public List<Refund> list() {
   List<Refund> l = refundsRepository.list();
   return l;
 }