Ignore:
Timestamp:
02/04/23 19:55:16 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
302b233, 4ee640e
Parents:
e097c1c
Message:

home controller added getMappings

File:
1 edited

Legend:

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

    re097c1c ra554435  
    66import org.springframework.stereotype.Service;
    77
     8import java.time.LocalDate;
    89import java.util.List;
    910
     
    2021        return projectionRepository.findAll();
    2122    }
     23
     24    @Override
     25    public List<Projection> findAllAvailableProjections(LocalDate date) {
     26        return projectionRepository.findAllByDate_time_startBefore(date);
     27    }
     28
    2229}
Note: See TracChangeset for help on using the changeset viewer.