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

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

Interested in event

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