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:
474 bytes
|
Line | |
---|
1 | package mk.ukim.finki.busngobackend.service
|
---|
2 |
|
---|
3 | import mk.ukim.finki.busngobackend.domain.entities.Linija
|
---|
4 | import mk.ukim.finki.busngobackend.mapper.ClassToDtoMapper
|
---|
5 | import mk.ukim.finki.busngobackend.repository.LinijaRepository
|
---|
6 | import org.springframework.stereotype.Service
|
---|
7 |
|
---|
8 | @Service
|
---|
9 | class LineService(
|
---|
10 | private val linijaRepository: LinijaRepository,
|
---|
11 | private val dtoMapper: ClassToDtoMapper,
|
---|
12 | ) {
|
---|
13 | fun findAllLines(): List<Linija> = this.linijaRepository.findAll()
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.