Last change
on this file was 47f4eaf, checked in by Marko <Marko@…>, 2 years ago |
Final features implemented
|
-
Property mode
set to
100644
|
File size:
515 bytes
|
Line | |
---|
1 | package finki.it.phoneluxbackend.services;
|
---|
2 |
|
---|
3 | import finki.it.phoneluxbackend.entities.ScrapperInfo;
|
---|
4 | import finki.it.phoneluxbackend.repositories.ScrapperInfoRepository;
|
---|
5 | import lombok.AllArgsConstructor;
|
---|
6 | import org.springframework.stereotype.Service;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 |
|
---|
10 | @AllArgsConstructor
|
---|
11 | @Service
|
---|
12 | public class ScrapperInfoService {
|
---|
13 | private final ScrapperInfoRepository scrapperInfoRepository;
|
---|
14 |
|
---|
15 | public List<ScrapperInfo> getAllScrapperInfos() {
|
---|
16 | return scrapperInfoRepository.findAll();
|
---|
17 | }
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.