source: Prototype Application/Paw5/src/main/java/finki/paw5/service/PostService.java@ a762b3a

main
Last change on this file since a762b3a was a762b3a, checked in by SazdovaEkaterina <sazdovaekaterina@…>, 17 months ago

adoption posts list + pet details page

  • Property mode set to 100644
File size: 250 bytes
RevLine 
[738b31a]1package finki.paw5.service;
2
[6479fe1]3import finki.paw5.model.entities.Post;
[a762b3a]4
5import java.util.List;
6import java.util.Optional;
[738b31a]7
8public interface PostService {
[6479fe1]9
[468b7b6]10 void save (Post post);
[6479fe1]11
[a762b3a]12 List<Post> findAll();
13
14 Optional<Post> findById(Integer id);
[738b31a]15}
Note: See TracBrowser for help on using the repository browser.