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:
315 bytes
|
Line | |
---|
1 | package finki.paw5.web.controllers;
|
---|
2 |
|
---|
3 | import finki.paw5.service.PostService;
|
---|
4 | import org.springframework.stereotype.Controller;
|
---|
5 |
|
---|
6 | @Controller
|
---|
7 | public class PostController {
|
---|
8 |
|
---|
9 | private final PostService postService;
|
---|
10 |
|
---|
11 | public PostController(PostService postService) {
|
---|
12 | this.postService = postService;
|
---|
13 | }
|
---|
14 |
|
---|
15 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.