Ignore:
Timestamp:
02/07/23 15:29:55 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
8d49568, 93341f8
Parents:
9eba1fb (diff), 3650316 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of https://github.com/DenicaKj/MovieZone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/web/HomeController.java

    r9eba1fb rcb5debb  
    3333private final ProjectionIsPlayedInRoomRepository projectionIsPlayedInRoomRepository;
    3434
     35
    3536    public HomeController(FilmService filmService, UserService userService, ProjectionService projectionService, EventService eventService, TicketService ticketService, WorkerService workerService, CustomerRatesFilmService customerRatesFilmService, CinemaService cinemaService, CinemaOrganizesEventService cinemaOrganizesEventService, CinemaPlaysFilmService cinemaPlaysFilmService, ProjectionIsPlayedInRoomRepository projectionIsPlayedInRoomRepository) {
     37       
    3638        this.filmService = filmService;
    3739        this.userService = userService;
     
    128130    @GetMapping("/films")
    129131    public String getFilmsPage(Model model){
     132        model.addAttribute("cinemas",cinemaService.findAllCinemas());
    130133        model.addAttribute("films",filmService.findAllFilms());
    131134        model.addAttribute("bodyContent","films");
Note: See TracChangeset for help on using the changeset viewer.