- Timestamp:
- 02/02/23 22:46:30 (22 months ago)
- Branches:
- master
- Children:
- ac25203
- Parents:
- f60cb20
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/EventServiceImpl.java
rf60cb20 r1b248e4 2 2 3 3 import com.example.moviezone.model.Event; 4 import com.example.moviezone.repository.EventRepository; 4 5 import com.example.moviezone.service.EventService; 5 6 import org.springframework.stereotype.Service; … … 9 10 @Service 10 11 public class EventServiceImpl implements EventService { 12 private final EventRepository eventRepository; 13 14 public EventServiceImpl(EventRepository eventRepository) { 15 this.eventRepository = eventRepository; 16 } 17 11 18 @Override 12 19 public List<Event> findAllEvents() { 13 return null;20 return eventRepository.findAll(); 14 21 } 15 22 }
Note:
See TracChangeset
for help on using the changeset viewer.