public IActionResult TicketPurchase(TicketVariables ticket, Payment payment)
        {
            Booking booking = new Booking();

            booking.Ticket = new Ticket
            {
                BookAt     = 1,
                FlightID   = 3,
                SeatNumber = ticket.SeatNum,
                UserID     = 1
            };
            booking.Payment = new Payment {
                Valuta = "SEK"
            };

            ticketApi.PostTicket(booking);

            return(View());
        }
 public IActionResult Checkout(TicketVariables ticket)
 {
     return(View(ticket));
 }