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 ScreeningMoviesVM(IMovieRepo movieRepo, IHallRepo hallRepo, Screening screening) { this.Screening = screening; this.Movie = new SelectList(movieRepo.GetMoviesAsync().Result, "Id", "Title", screening.Movie_Id); this.Hall = new SelectList(hallRepo.GetHallsAsync().Result, "Id", "Name", screening.Hall_Id); }
public HallController(IHallRepo hallRepo, ApplicationDbContext context) { this._hallRepo = hallRepo; this._context = context; }
public ScreeningRepo(ApplicationDbContext context, IHallRepo hallRepo, IMovieRepo movieRepo) { this._context = context; }
public ScreeningController(IScreeningRepo screeningRepo, IMovieRepo movieRepo, IHallRepo hallRepo) { this._movieRepo = movieRepo; this._hallRepo = hallRepo; this._screeningRepo = screeningRepo; }
public ReservationRepo(ApplicationDbContext context, IHallRepo hallRepo, IMovieRepo movieRepo) { this._context = context; }