source: src/main/java/com/example/moviezone/service/FilmService.java@ 03fd098

Last change on this file since 03fd098 was eb5426c, checked in by DenicaKj <dkorvezir@…>, 22 months ago

Home Page

  • Property mode set to 100644
File size: 446 bytes
Line 
1package com.example.moviezone.service;
2
3import com.example.moviezone.model.Film;
4
5import java.time.LocalDate;
6import java.util.List;
7import java.util.Optional;
8
9public interface FilmService {
10 List<Film> findAllFilms();
11 Film save(String name, Integer duration, String actors, String genre,
12 String age_category, String url, String director, LocalDate start_date,LocalDate end_date);
13 Optional<Film> getFilmById(Long id);
14}
Note: See TracBrowser for help on using the repository browser.