Changeset 64ee7f4 for src/main/java/com/example/moviezone/web
- Timestamp:
- 02/08/23 00:06:18 (22 months ago)
- Branches:
- master
- Children:
- 89438a3
- Parents:
- 8d49568
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/web/HomeController.java
r8d49568 r64ee7f4 36 36 private final CinemaOrganizesEventService cinemaOrganizesEventService; 37 37 private final CinemaPlaysFilmService cinemaPlaysFilmService; 38 private final ProjectionIsPlayedInRoomRepository projectionIsPlayedInRoomRepository; 39 40 41 public HomeController(FilmService filmService, UserService userService, ProjectionService projectionService, EventService eventService, TicketService ticketService, WorkerService workerService, CustomerRatesFilmService customerRatesFilmService, CinemaService cinemaService, CinemaOrganizesEventService cinemaOrganizesEventService, CinemaPlaysFilmService cinemaPlaysFilmService, ProjectionIsPlayedInRoomRepository projectionIsPlayedInRoomRepository) { 42 38 private final ProjectionIsPlayedInRoomService projectionIsPlayedInRoomService; 39 40 41 public HomeController(FilmService filmService, UserService userService, ProjectionService projectionService, EventService eventService, TicketService ticketService, WorkerService workerService, CustomerRatesFilmService customerRatesFilmService, CinemaService cinemaService, CinemaOrganizesEventService cinemaOrganizesEventService, CinemaPlaysFilmService cinemaPlaysFilmService, ProjectionIsPlayedInRoomService projectionIsPlayedInRoomService) { 43 42 this.filmService = filmService; 44 43 this.userService = userService; … … 51 50 this.cinemaOrganizesEventService = cinemaOrganizesEventService; 52 51 this.cinemaPlaysFilmService = cinemaPlaysFilmService; 53 this.projectionIsPlayedInRoom Repository = projectionIsPlayedInRoomRepository;52 this.projectionIsPlayedInRoomService = projectionIsPlayedInRoomService; 54 53 } 55 54 … … 285 284 286 285 287 List<ProjectionIsPlayedInRoom> p= projectionIsPlayedInRoom Repository.findAllById_projection(id_projection);286 List<ProjectionIsPlayedInRoom> p= projectionIsPlayedInRoomService.getProjectionPlayedInRoom(id_projection); 288 287 289 288 model.addAttribute("projection",projection);
Note:
See TracChangeset
for help on using the changeset viewer.