private async Task Confirm(object o) { if (!ValidateConfirm()) { return; } if (!ValidateAges()) { return; } UiState = UiState.Wait; string bookingReference = await m_crudManager.CreateBooking(SelectedFlight.FlightId, SelectedTicketType.TravelClassCode, SelectedTicketType.Amount, PassengerInfo); UiState = UiState.Normal; MessageBox.Show($"Your booking was successful. Your booking reference is {bookingReference}.", "Success"); m_pageController.Home(); }