Changeset 6f91f99 in Git for src/main/java/com/wediscussmovies/project/service/GenreService.java
- Timestamp:
- 02/09/22 15:46:58 (3 years ago)
- Branches:
- main
- Children:
- 8f1b7e9
- Parents:
- 967b414
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/GenreService.java
r967b414 r6f91f99 2 2 3 3 import com.wediscussmovies.project.model.Genre; 4 import com.wediscussmovies.project.querymodels.GenreLikes ;4 import com.wediscussmovies.project.querymodels.GenreLikesQM; 5 5 import org.springframework.stereotype.Service; 6 6 … … 13 13 List<Genre> findAllByType(String genre); 14 14 Genre save(String genreName); 15 List<GenreLikes > findAllWithLikes();15 List<GenreLikesQM> findAllWithLikes(); 16 16 void likeGenre(Integer genreId,Integer userId); 17 17 void unlikeGenre(Integer genreId,Integer userId);
Note:
See TracChangeset
for help on using the changeset viewer.