Last change
on this file was f7c05a1, checked in by Elena Shulevska <elena.shulevska@…>, 16 months ago |
initial commit of the source code on origin
|
-
Property mode
set to
100644
|
File size:
798 bytes
|
Line | |
---|
1 | package com.example.villadihovo.service.impl.reservationImpl;
|
---|
2 |
|
---|
3 | import com.example.villadihovo.dto.ReservationForServiceDto;
|
---|
4 | import com.example.villadihovo.repository.reservation.ReservationForServiceRepository;
|
---|
5 | import com.example.villadihovo.service.reservation.ReservationForServiceService;
|
---|
6 | import org.springframework.beans.factory.annotation.Autowired;
|
---|
7 | import org.springframework.stereotype.Service;
|
---|
8 |
|
---|
9 | import java.util.List;
|
---|
10 |
|
---|
11 | @Service
|
---|
12 | public class ReservationForServiceServiceImpl implements ReservationForServiceService {
|
---|
13 |
|
---|
14 | @Autowired
|
---|
15 | private ReservationForServiceRepository reservationForServiceRepository;
|
---|
16 |
|
---|
17 | @Override
|
---|
18 | public List<ReservationForServiceDto> findAllServiceReservations() {
|
---|
19 | return this.reservationForServiceRepository.findAllServiceReservationsDto();
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.