source: src/main/java/com/example/moviezone/service/EventService.java@ 1e7126f

Last change on this file since 1e7126f was ef84238, checked in by DenicaKj <dkorvezir@…>, 21 months ago

Interested in event

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