Ignore:
Timestamp:
02/08/23 15:48:51 (23 months ago)
Author:
DenicaKj <dkorvezir@…>
Branches:
master
Children:
2c7a732
Parents:
90317ea
Message:

Projections

Location:
src/main/java/com/example/moviezone/service
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/service/Impl/ProjectionServiceImpl.java

    r90317ea r5867520  
    2626
    2727    @Override
     28    public List<Projection> getProjectionsForFilms(int id) {
     29        return projectionRepository.getProjectionsForFilms(id);
     30    }
     31
     32    @Override
    2833    public Projection findById(Integer id_projection) {
    2934        return projectionRepository.findById(id_projection).orElseThrow(RuntimeException::new);
  • src/main/java/com/example/moviezone/service/ProjectionService.java

    r90317ea r5867520  
    99public interface ProjectionService {
    1010    List<Projection> findAllProjections();
     11    List<Projection> getProjectionsForFilms(int id);
    1112    Projection findById(Integer id_projection);
    1213Projection save(LocalDate date_time_start,LocalDate date_time_end, String type_of_technology, Integer id_film );
Note: See TracChangeset for help on using the changeset viewer.