public ReservationController(IReservationRepo reservationRepo, ApplicationDbContext context, IScreeningRepo screeningRepo, IMovieRepo movieRepo, IHallRepo hallRepo) { this._reservationRepo = reservationRepo; this._context = context; this._movieRepo = movieRepo; this._hallRepo = hallRepo; this._screeningRepo = screeningRepo; }
public ScreeningController(IScreeningRepo screeningRepo, IMovieRepo movieRepo, IHallRepo hallRepo) { this._movieRepo = movieRepo; this._hallRepo = hallRepo; this._screeningRepo = screeningRepo; }
public ReservationVM(IReservationRepo reservationRepo, IScreeningRepo screeningRepo) { this.screening = new SelectList(screeningRepo.GetAllScreenings().Result, "Screening", "screening.Movie.Title", Reservation.Screening); }