- Timestamp:
- 03/10/23 22:17:37 (16 months ago)
- Branches:
- main
- Children:
- 4ab3aae
- Parents:
- 56a6233
- Location:
- Prototype Application/Paw5/src/main/java/finki/paw5/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/AdopterService.java
r56a6233 r7aa3382 7 7 public interface AdopterService { 8 8 List<Adopter> findAllThatNeedApproval(); 9 10 Adopter findById(Integer id); 11 12 void save(Adopter adopter); 9 13 } -
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/AdopterServiceImplementation.java
r56a6233 r7aa3382 24 24 .collect(Collectors.toList()); 25 25 } 26 27 @Override 28 public Adopter findById(Integer id) { 29 return this.adopterRepository.findById(id).get(); 30 } 31 32 @Override 33 public void save(Adopter adopter) { 34 this.adopterRepository.save(adopter); 35 } 26 36 }
Note:
See TracChangeset
for help on using the changeset viewer.