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
|
Line | |
---|
1 | package com.wediscussmovies.project.service;
|
---|
2 |
|
---|
3 | import com.wediscussmovies.project.model.Genre;
|
---|
4 |
|
---|
5 | import java.util.List;
|
---|
6 | import java.util.Optional;
|
---|
7 |
|
---|
8 | public interface GenreService {
|
---|
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);
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.