public string makeRoomReservation(string CardType, string GuestAccount, string GuestName, string GuestPassport, int Duration, int NumOfGuest, string RoomNo, string StartDate, string TotalCharge) { ConsoleApplication1.ServiceReference2.ReservationRequest inValue = new ConsoleApplication1.ServiceReference2.ReservationRequest(); inValue.CardType = CardType; inValue.GuestAccount = GuestAccount; inValue.GuestName = GuestName; inValue.GuestPassport = GuestPassport; inValue.Duration = Duration; inValue.NumOfGuest = NumOfGuest; inValue.RoomNo = RoomNo; inValue.StartDate = StartDate; inValue.TotalCharge = TotalCharge; ConsoleApplication1.ServiceReference2.ReservationResponse retVal = ((ConsoleApplication1.ServiceReference2.IHotelDataInfoUpdate)(this)).makeRoomReservation(inValue); return(retVal.responseCode); }
ConsoleApplication1.ServiceReference2.ReservationResponse ConsoleApplication1.ServiceReference2.IHotelDataInfoUpdate.makeRoomReservation(ConsoleApplication1.ServiceReference2.ReservationRequest request) { return(base.Channel.makeRoomReservation(request)); }