@Override
 public List<ArtWork> findAll() {
   List<ArtWork> allsubjects = new ArrayList<>();
   Iterable<ArtWork> subjects = repository.findAll();
   for (ArtWork subject : subjects) {
     allsubjects.add(subject);
   }
   return allsubjects;
 }
 @Override
 public void delete(ArtWork entity) {
   repository.delete(entity);
 }
 @Override
 public ArtWork update(ArtWork entity) {
   return repository.save(entity);
 }
 @Override
 public ArtWork save(ArtWork mus) {
   return repository.save(mus);
 }
 @Override
 public ArtWork findById(Long id) {
   return repository.findOne(id);
 }