public void delete() {
   InvoiceTemplate.delete(this);
 }
 public static void delete(InvoiceTemplate item) {
   delete(item.getId());
 }