source: bus-n-go-do-5ta-faza/src/main/java/mk/ukim/finki/busngo/service/impl/TipBiletServiceImpl.java

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 
1package mk.ukim.finki.busngo.service.impl;
2
3import mk.ukim.finki.busngo.model.entities.Tipbilet;
4import mk.ukim.finki.busngo.repository.TipBIletRepository;
5import mk.ukim.finki.busngo.service.TipBiletService;
6import org.springframework.stereotype.Service;
7
8import java.util.List;
9
10@Service
11public 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.