source: src/main/java/com/example/villadihovo/service/impl/reservationImpl/ReservationForEventsServiceImpl.java

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: 786 bytes
Line 
1package com.example.villadihovo.service.impl.reservationImpl;
2
3import com.example.villadihovo.dto.ReservationForEventsDto;
4import com.example.villadihovo.repository.reservation.ReservationForEventsRepository;
5import com.example.villadihovo.service.reservation.ReservationForEventsService;
6import org.springframework.beans.factory.annotation.Autowired;
7import org.springframework.stereotype.Service;
8
9import java.util.List;
10
11@Service
12public class ReservationForEventsServiceImpl implements ReservationForEventsService {
13
14 @Autowired
15 private ReservationForEventsRepository reservationForEventsRepository;
16
17
18 @Override
19 public List<ReservationForEventsDto> findAllEventReservations() {
20 return this.reservationForEventsRepository.findAllEventReservationsDto();
21 }
22}
Note: See TracBrowser for help on using the repository browser.