public List<Permission> findAll() {
   return IteratorUtils.toList(repository.findAll().iterator());
 }
 public void delete(Permission model) {
   repository.delete(model);
 }
 public Permission save(Permission model) {
   return repository.save(model);
 }