source: phonelux-backend/src/main/java/finki/it/phoneluxbackend/services/ScrapperInfoService.java

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 
1package finki.it.phoneluxbackend.services;
2
3import finki.it.phoneluxbackend.entities.ScrapperInfo;
4import finki.it.phoneluxbackend.repositories.ScrapperInfoRepository;
5import lombok.AllArgsConstructor;
6import org.springframework.stereotype.Service;
7
8import java.util.List;
9
10@AllArgsConstructor
11@Service
12public 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.