Last change
on this file was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
624 bytes
|
Line | |
---|
1 | package com.example.medweb.service.impl;
|
---|
2 |
|
---|
3 | import com.example.medweb.model.Pregled;
|
---|
4 | import com.example.medweb.repository.PregledRepository;
|
---|
5 | import com.example.medweb.service.PregledService;
|
---|
6 | import org.springframework.stereotype.Service;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 |
|
---|
10 |
|
---|
11 | @Service
|
---|
12 | public class PregledServiceImpl implements PregledService {
|
---|
13 |
|
---|
14 | private final PregledRepository pregledRepository;
|
---|
15 |
|
---|
16 | public PregledServiceImpl(PregledRepository pregledRepository) {
|
---|
17 | this.pregledRepository = pregledRepository;
|
---|
18 | }
|
---|
19 |
|
---|
20 | @Override
|
---|
21 | public List<Pregled> findAll() {
|
---|
22 | return this.pregledRepository.findAll();
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.