- Timestamp:
- 02/02/23 22:46:30 (22 months ago)
- Branches:
- master
- Children:
- ac25203
- Parents:
- f60cb20
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/FilmServiceImpl.java
rf60cb20 r1b248e4 2 2 3 3 import com.example.moviezone.model.Film; 4 import com.example.moviezone.repository.FilmRepository; 4 5 import com.example.moviezone.service.FilmService; 5 6 import org.springframework.stereotype.Service; … … 9 10 @Service 10 11 public class FilmServiceImpl implements FilmService { 12 private final FilmRepository filmRepository; 13 14 public FilmServiceImpl(FilmRepository filmRepository) { 15 this.filmRepository = filmRepository; 16 } 17 11 18 @Override 12 19 public List<Film> findAllFilms() { 13 return null;20 return filmRepository.findAll(); 14 21 } 15 22 }
Note:
See TracChangeset
for help on using the changeset viewer.