Changes in Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java [468b7b6:a762b3a]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java
r468b7b6 ra762b3a 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.