Last change
on this file since bde8b13 was b101b69, checked in by ppaunovski <paunovskipavel@…>, 6 months ago |
initial classes, no inheritance yet v2
|
-
Property mode
set to
100644
|
File size:
648 bytes
|
Rev | Line | |
---|
[b101b69] | 1 | package mk.ukim.finki.busngo.service.impl;
|
---|
| 2 |
|
---|
| 3 | import mk.ukim.finki.busngo.model.entities.Tipbilet;
|
---|
| 4 | import mk.ukim.finki.busngo.repository.TipBIletRepository;
|
---|
| 5 | import mk.ukim.finki.busngo.service.TipBiletService;
|
---|
| 6 | import org.springframework.stereotype.Service;
|
---|
| 7 |
|
---|
| 8 | import java.util.List;
|
---|
| 9 |
|
---|
| 10 | @Service
|
---|
| 11 | public class TipBiletServiceImpl implements TipBiletService {
|
---|
| 12 | private final TipBIletRepository tipBIletRepository;
|
---|
| 13 |
|
---|
| 14 | public TipBiletServiceImpl(TipBIletRepository tipBIletRepository) {
|
---|
| 15 | this.tipBIletRepository = tipBIletRepository;
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | @Override
|
---|
| 19 | public List<Tipbilet> listAll() {
|
---|
| 20 | return tipBIletRepository.findAll();
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.