Example #1
0
        async void getMainGuestDetails()
        {
            pageLoading();

            MainGuestDetails mainGuestDetails = await mainGuestInformation.mainGuestInformation(Constants._reservation_id);

            if (mainGuestDetails != null)
            {
                DisplayMainGuestDetails(mainGuestDetails);
            }
        }
Example #2
0
        async void getGuestDetails()
        {
            pageLoading();
            MainGuestDetails mainGuestResult = null;

            mainGuestResult = await mainGuestInformation.mainGuestInformation(Constants._reservation_id);

            if (mainGuestResult != null)
            {
                Constants.result = await mainGuestInformation.reservationInformation();

                if (Constants.resultMain == null || Constants.resultMain == "Error")
                {
                }
                else
                {
                    DisplayReservationDetails();
                    MessagingCenter.Send <ReservationInfo, string>(this, Constants._loadGuestInformation, "");
                    MessagingCenter.Send <ReservationInfo, string>(this, Constants._loadRemarksInformation, "");
                }
            }
        }