Changeset 7a0bf79 in Git for src/main/java/com/wediscussmovies/project/service/GenreService.java
- Timestamp:
- 01/16/22 03:40:31 (3 years ago)
- Branches:
- main
- Children:
- 2a5d6a3
- Parents:
- 839f96a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/GenreService.java
r839f96a r7a0bf79 1 1 package com.wediscussmovies.project.service; 2 2 3 import com.wediscussmovies.project.model.Genre; 4 5 import java.util.List; 6 import java.util.Optional; 7 3 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); 4 13 }
Note:
See TracChangeset
for help on using the changeset viewer.