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;
 }
Beispiel #2
0
 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);
 }