main
Last change
on this file since 8a0b460 was 8a0b460, checked in by Filip Chorbeski <86695898+FilipChorbeski@…>, 17 months ago |
add post service, add post controller, pet service uses pet repo
Co-Authored-By: SazdovaEkaterina <74919977+SazdovaEkaterina@…>
|
-
Property mode
set to
100644
|
File size:
423 bytes
|
Rev | Line | |
---|
[8a0b460] | 1 | package finki.paw5.service.implementation;
|
---|
| 2 |
|
---|
| 3 | import finki.paw5.repository.PostRepository;
|
---|
| 4 | import finki.paw5.service.PostService;
|
---|
| 5 | import org.springframework.stereotype.Service;
|
---|
| 6 |
|
---|
| 7 | @Service
|
---|
| 8 | public class PostServiceImplementation implements PostService {
|
---|
| 9 |
|
---|
| 10 | private final PostRepository postRepository;
|
---|
| 11 |
|
---|
| 12 | public PostServiceImplementation(PostRepository PostRepository){
|
---|
| 13 | this.postRepository = PostRepository;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.