Ejemplo n.º 1
0
        public static ReservationState DoBooking(string language, int partnerId, int partnerPassId, BookingClaim claim)
        {
            if (claim == null)
            {
                throw new System.ArgumentNullException("claim");
            }
            XElement xml = BookingProvider.BuildBookingClaimXml(partnerId, claim);

            return(BookingProvider.BuildBookingProcessResult(language, "save", xml, new int?(partnerPassId)));
        }
Ejemplo n.º 2
0
        public static ReservationState GetReservationState(string language, int claimId)
        {
            XElement xml = BookingProvider.BuildStatusClaimXml(claimId);

            return(BookingProvider.BuildBookingProcessResult(language, "status", xml, null));
        }