Last change
on this file since 93341f8 was eb5426c, checked in by DenicaKj <dkorvezir@…>, 22 months ago |
Home Page
|
-
Property mode
set to
100644
|
File size:
446 bytes
|
Line | |
---|
1 | package com.example.moviezone.service;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.Film;
|
---|
4 |
|
---|
5 | import java.time.LocalDate;
|
---|
6 | import java.util.List;
|
---|
7 | import java.util.Optional;
|
---|
8 |
|
---|
9 | public 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.