main
Last change
on this file since 7fafead was 7fafead, checked in by Test <matonikolov77@…>, 2 years ago |
Resolving models
|
-
Property mode
set to
100644
|
File size:
385 bytes
|
Rev | Line | |
---|
[6e7b472] | 1 | package com.wediscussmovies.project.service;
|
---|
| 2 |
|
---|
| 3 | import com.wediscussmovies.project.model.Movie;
|
---|
| 4 |
|
---|
| 5 | import java.util.List;
|
---|
[7a0bf79] | 6 | import java.util.Optional;
|
---|
[6e7b472] | 7 |
|
---|
| 8 | public interface MovieService {
|
---|
| 9 | public List<Movie> listAll();
|
---|
| 10 | public List<Movie> searchByTitle(String title);
|
---|
[7fafead] | 11 | public Optional<Movie> findById(Long id);
|
---|
[7a0bf79] | 12 | public Movie save(Movie movie);
|
---|
[7fafead] | 13 | public void deleteById(Long id);
|
---|
[6e7b472] | 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.