public ReservationResponse makeRoomReservation(ReservationRequest request)
        {
            try
            {
                HotelFacade hotelFacade = new HotelFacade();

                DateTime startDate = DateTime.Parse(request.StartDate);
                Payment payment = new Payment();
                payment.CardType = request.CardType;
                payment.GuestAccount = request.GuestAccount;
                payment.TotalCharge = request.TotalCharge;
                payment.CardType = request.CardType;

                String responseCode =  hotelFacade.makeReservation(request.RoomNo,request.GuestName,request.GuestPassport,startDate,request.Duration,request.NumOfGuest, payment);
                ReservationResponse response = new ReservationResponse();
                response.responseCode = responseCode;
                return response;
            }
            catch (Exception e)
            {
                throw new FaultException<Exception>(e);
            }
        }
 /// <summary>
 /// Create a new Payment object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="guestAccount">Initial value of the GuestAccount property.</param>
 /// <param name="totalCharge">Initial value of the TotalCharge property.</param>
 /// <param name="cardType">Initial value of the CardType property.</param>
 public static Payment CreatePayment(global::System.Int32 id, global::System.String guestAccount, global::System.String totalCharge, global::System.String cardType)
 {
     Payment payment = new Payment();
     payment.id = id;
     payment.GuestAccount = guestAccount;
     payment.TotalCharge = totalCharge;
     payment.CardType = cardType;
     return payment;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Payments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPayments(Payment payment)
 {
     base.AddObject("Payments", payment);
 }