Last change
on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago |
split group project and individual project into two separate folders
|
-
Property mode
set to
100644
|
File size:
648 bytes
|
Line | |
---|
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.