Changeset 3ded84d in Git for src/main/java/com/wediscussmovies/project/service/impl/GenreServiceImpl.java
- Timestamp:
- 01/18/22 17:18:17 (3 years ago)
- Branches:
- main
- Children:
- e0ef1b1
- Parents:
- 7fafead
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/impl/GenreServiceImpl.java
r7fafead r3ded84d 1 1 package com.wediscussmovies.project.service.impl; 2 2 3 import com.wediscussmovies.project.model. Genre;3 import com.wediscussmovies.project.model.*; 4 4 import com.wediscussmovies.project.repository.GenreRepository; 5 5 import com.wediscussmovies.project.service.GenreService; … … 24 24 @Override 25 25 public List<Genre> findAllByType(String genre) { 26 return genreRepository.findAllByGenre (genre);26 return genreRepository.findAllByGenreType(genre); 27 27 } 28 28 29 29 @Override 30 30 public Genre save(String genreName) { 31 31 Genre genre = new Genre(genreName); 32 32 return genreRepository.save(genre); 33 33 }
Note:
See TracChangeset
for help on using the changeset viewer.