source: src/main/java/com/example/moviezone/service/EventService.java@ 6a9006d

Last change on this file since 6a9006d was 90317ea, checked in by DenicaKj <dkorvezir@…>, 22 months ago

Events and Event

  • Property mode set to 100644
File size: 444 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.Event;
4
5import java.time.LocalDate;
6import java.util.List;
7import java.util.Optional;
8
9public interface EventService {
10 List<Event> findAllEvents();
11 Event save(LocalDate start_date,String theme,String duration,String repeating,String url);
12 List<Event> getEventsNow();
13 List<Event> getEventsFromCinema(int id);
14 Optional<Event> getEventById(Long id);
15}
Note: See TracBrowser for help on using the repository browser.