Changes in Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java [a762b3a:468b7b6]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java
ra762b3a r468b7b6 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;10 7 11 8 @Service … … 23 20 } 24 21 25 @Override26 public List<Post> findAll() {27 return this.postRepository.findAll();28 }29 30 @Override31 public Optional<Post> findById(Integer id) {32 return this.postRepository.findById(id);33 }34 22 }
Note:
See TracChangeset
for help on using the changeset viewer.