main
Last change
on this file since d14176d was d14176d, checked in by HristijanMitic00 <hristijan.mitic.01@…>, 12 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
465 bytes
|
Line | |
---|
1 | package project.fmo.app.projcetfmo.Service;
|
---|
2 |
|
---|
3 | import org.springframework.data.domain.Page;
|
---|
4 | import project.fmo.app.projcetfmo.Model.Produkt;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 | import java.util.Optional;
|
---|
8 |
|
---|
9 | public interface ProduktService {
|
---|
10 |
|
---|
11 | Optional<Produkt> findById(Integer id);
|
---|
12 | List<Produkt> findAll();
|
---|
13 | Produkt save(String ime, String opis);
|
---|
14 | Produkt edit(Integer id,String ime, String opis);
|
---|
15 | void deleteById(Integer id);
|
---|
16 |
|
---|
17 | List<Object> statistics1();
|
---|
18 |
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.