Exemplo n.º 1
0
 public BookingTouristDTO[] GetTourists(string FirstName, string LastName, string PassportNo, int NationalityID)
 {
     BookingTouristDTO[] oBookingTouristDTO;
     if (touristHelper == null)
     {
         touristHelper = new TouristHelper();
     }
     oBookingTouristDTO = touristHelper.GetTourists(FirstName, LastName, PassportNo, NationalityID);
     touristHelper      = null;
     return(oBookingTouristDTO);
 }
Exemplo n.º 2
0
 public BookingTouristDTO[] GetBookingTourists(int BookingId)
 {
     try
     {
         if (touristHelper == null)
         {
             touristHelper = new TouristHelper();
         }
         return(touristHelper.GetBookingTourists(BookingId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 3
0
 public bool DeleteBookingTourist(int BookingId, int TouristNo)
 {
     try
     {
         if (touristHelper == null)
         {
             touristHelper = new TouristHelper();
         }
         return(touristHelper.DeleteBookingTourist(BookingId, TouristNo));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 4
0
 public bool UpdateBookingTourist(BookingTouristDTO oBookingTouristDTO)
 {
     try
     {
         if (touristHelper == null)
         {
             touristHelper = new TouristHelper();
         }
         return(touristHelper.UpdateBookingTourist(oBookingTouristDTO));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 5
0
 public bool AddBookingTouristentry(BookingTouristDTO oBookingTouristDTO, out int TouristNo)
 {
     try
     {
         if (touristHelper == null)
         {
             touristHelper = new TouristHelper();
         }
         return(touristHelper.Addtouristentry(oBookingTouristDTO, out TouristNo));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 6
0
 public BookingTouristDTO GetBookingTouristDetails(int BookingId, int TouristNo)
 {
     try
     {
         if (touristHelper == null)
         {
             touristHelper = new TouristHelper();
         }
         return(touristHelper.GetBookingTouristDetails(BookingId, TouristNo));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemplo n.º 7
0
 public BookingTouristDTO[] GetBookingTouristsftr(string bookingCode, string email, string passpno, string name, DateTime chkin, DateTime chkout, int accomid)
 {
     try
     {
         if (touristHelper == null)
         {
             touristHelper = new TouristHelper();
         }
         return(touristHelper.GetBookingTouristsftr(bookingCode, email, passpno, name, chkin, chkout, accomid));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }