Ejemplo n.º 1
0
        public IActionResult Booking(int?id)
        {
            bookingModel.Bookings  = booking.UserBookings();
            bookingModel.SeatTypes = booking.GetSeatTypes();

            if (id.HasValue)
            {
                bookingModel.ActiveBooking = booking.CurrentBooking(id.Value);
            }
            return(View(bookingModel));
        }