main
Last change
on this file since 56a6233 was eac569a, checked in by SazdovaEkaterina <sazdovaekaterina@…>, 16 months ago |
merge main into adopting-a-pet
|
-
Property mode
set to
100644
|
File size:
249 bytes
|
Line | |
---|
1 | package finki.paw5.service;
|
---|
2 |
|
---|
3 | import finki.paw5.model.entities.Post;
|
---|
4 | import java.util.List;
|
---|
5 | import java.util.Optional;
|
---|
6 |
|
---|
7 | public interface PostService {
|
---|
8 |
|
---|
9 | void save (Post post);
|
---|
10 |
|
---|
11 | List<Post> findAll();
|
---|
12 |
|
---|
13 | Optional<Post> findById(Integer id);
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.