- 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/ProjectionServiceImpl.java
rf60cb20 r1b248e4 2 2 3 3 import com.example.moviezone.model.Projection; 4 import com.example.moviezone.repository.ProjectionRepository; 4 5 import com.example.moviezone.service.ProjectionService; 5 6 import org.springframework.stereotype.Service; … … 9 10 @Service 10 11 public class ProjectionServiceImpl implements ProjectionService { 12 private final ProjectionRepository projectionRepository; 13 14 public ProjectionServiceImpl(ProjectionRepository projectionRepository) { 15 this.projectionRepository = projectionRepository; 16 } 17 11 18 @Override 12 19 public List<Projection> findAllProjections() { 13 return null;20 return projectionRepository.findAll(); 14 21 } 15 22 }
Note:
See TracChangeset
for help on using the changeset viewer.