public AuditoriumService(IAuditoriumsRepository auditoriumsRepository,
                          ICinemasRepository cinemasRepository,
                          ISeatsRepository seatsRepository,
                          IProjectionsRepository projectionsRepository,
                          ITicketService ticketService)
 {
     _auditoriumsRepository = auditoriumsRepository;
     _cinemasRepository     = cinemasRepository;
     _seatsRepository       = seatsRepository;
     _projectionsRepository = projectionsRepository;
     _ticketService         = ticketService;
 }
Beispiel #2
0
 public CinemaService(
     ICinemasRepository cinemasRepository,
     IAuditoriumsRepository auditoriumsRepository,
     ISeatsRepository seatsRepository,
     ICitiesRepository citiesRepository
     )
 {
     _cinemasRepository     = cinemasRepository;
     _auditoriumsRepository = auditoriumsRepository;
     _seatsRepository       = seatsRepository;
     _citiesRepository      = citiesRepository;
 }
 public AuditoriumService(IAuditoriumsRepository auditoriumsRepository, ICinemasRepository cinemasRepository)
 {
     _auditoriumsRepository = auditoriumsRepository;
     _cinemasRepository     = cinemasRepository;
 }
Beispiel #4
0
 public CinemaService(ICinemasRepository cinemasRepository)
 {
     _cinemasRepository = cinemasRepository;
 }
Beispiel #5
0
 public CinemasController(ICinemasRepository repository)
 {
     repo = repository;
 }
Beispiel #6
0
 public CinemasController(ApplicationDbContext context, IHostingEnvironment env, ICinemasRepository cinemaRepository)
 {
     _db        = context;
     _env       = env;
     cinemarepo = cinemaRepository;
 }
Beispiel #7
0
 public CinemaService(ICinemasRepository cinemasRepository, IAuditoriumService auditoriumService)
 {
     _auditoriumService = auditoriumService;
     _cinemasRepository = cinemasRepository;
 }