public ChooseSeatsPage(Repository repository, Seance seance, BookingPage bp)
 {
     InitializeComponent();
     _seance             = seance;
     _repository         = repository;
     _bp                 = bp;
     _bookedSeats        = _repository.GetBookedSeats(_seance);
     textBlockPrice.Text = $"{seance.PriceOfTickets}";
     AddToGrid(25, CreateButtons(25));
 }
 public PayPage(Seance seance, ChooseSeatsPage chooseSeatsPage, Repository repository, BookingPage bp)
 {
     InitializeComponent();
     _seance                   = seance;
     _repository               = repository;
     _bp                       = bp;
     textblockTime.Text        = $"{seance.Time}";
     textblockFilm.Text        = $"{seance.Movie.Name}";
     textblockQuantOfTick.Text = $"{ chooseSeatsPage.textBlockQuantity.Text}";
     textblockTotalPrice.Text  = $"{chooseSeatsPage.textBlockTotalPrice.Text}";
 }