main
Last change
on this file since 7a0bf79 was 7a0bf79, checked in by Petar Partaloski <ppartaloski@…>, 2 years ago |
Early implementations, MovieController CRUD implementation included
|
-
Property mode
set to
100644
|
File size:
356 bytes
|
Rev | Line | |
---|
[6e7b472] | 1 | package com.wediscussmovies.project.service;
|
---|
| 2 |
|
---|
[7a0bf79] | 3 | import com.wediscussmovies.project.model.Genre;
|
---|
| 4 |
|
---|
| 5 | import java.util.List;
|
---|
| 6 | import java.util.Optional;
|
---|
| 7 |
|
---|
[6e7b472] | 8 | public interface GenreService {
|
---|
[7a0bf79] | 9 | public List<Genre> findAll();
|
---|
| 10 | public Optional<Genre> findById(Integer id);
|
---|
| 11 | public List<Genre> findAllByType(String genre);
|
---|
| 12 | public Genre save(String genreName);
|
---|
[6e7b472] | 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.