- Timestamp:
- 02/07/23 14:48:59 (22 months ago)
- Branches:
- master
- Children:
- cb5debb
- Parents:
- 3242ef4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/web/HomeController.java
r3242ef4 r3650316 31 31 32 32 public HomeController(FilmService filmService, UserService userService, ProjectionService projectionService, EventService eventService, TicketService ticketService, WorkerService workerService, CustomerRatesFilmService customerRatesFilmService, CinemaService cinemaService, CinemaOrganizesEventService cinemaOrganizesEventService, CinemaPlaysFilmService cinemaPlaysFilmService) { 33 33 34 this.filmService = filmService; 34 35 this.userService = userService; … … 124 125 @GetMapping("/films") 125 126 public String getFilmsPage(Model model){ 127 model.addAttribute("cinemas",cinemaService.findAllCinemas()); 126 128 model.addAttribute("films",filmService.findAllFilms()); 127 129 model.addAttribute("bodyContent","films");
Note:
See TracChangeset
for help on using the changeset viewer.