Changeset 8b7dd7f for Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java
- Timestamp:
- 03/05/23 18:01:28 (16 months ago)
- Branches:
- main
- Children:
- c3278ac, fdd7961
- Parents:
- f194b4e (diff), 5f53114 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Filip Chorbeski <86695898+FilipChorbeski@…> (03/05/23 18:01:28)
- git-committer:
- GitHub <noreply@…> (03/05/23 18:01:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java
rf194b4e r8b7dd7f 5 5 import finki.paw5.service.PostService; 6 6 import org.springframework.stereotype.Service; 7 8 import java.util.List; 9 import java.util.Optional; 7 10 8 11 @Service … … 20 23 } 21 24 25 @Override 26 public List<Post> findAll() { 27 return this.postRepository.findAll(); 28 } 29 30 @Override 31 public Optional<Post> findById(Integer id) { 32 return this.postRepository.findById(id); 33 } 22 34 }
Note:
See TracChangeset
for help on using the changeset viewer.