Exemple #1
0
        private CFormReportDTO GetCFormDetails(int bookingId, bool foreignNationals, bool indianNationals)
        {
            CFormReportDTO cFormReportDto = null;

            try
            {
                BookingReportHelper BookingReportHelper = new BookingReportHelper();
                if (foreignNationals && indianNationals)
                {
                    cFormReportDto = BookingReportHelper.GetCFormData(bookingId);
                }
                else if (foreignNationals)
                {
                    cFormReportDto = BookingReportHelper.GetCFormDataForForeignNationals(bookingId);
                }
                else if (indianNationals)
                {
                    cFormReportDto = BookingReportHelper.GetCFormDataForIndiaNationals(bookingId);
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }
            return(cFormReportDto);
        }
Exemple #2
0
 public List <clsTouristCountDTO> GetTouristCount(DateTime fromDate, DateTime toDate, int accomTypeId, int accomId)
 {
     try
     {
         BookingReportHelper BookingReportHelper = new BookingReportHelper();
         return(BookingReportHelper.GetTouristCount(fromDate, toDate, accomTypeId, accomId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemple #3
0
 public CFormReportDTO GetCFormDataForForeignNationals(int bookingId)
 {
     try
     {
         if (bookingReportHelper == null)
         {
             bookingReportHelper = new BookingReportHelper();
         }
         return(bookingReportHelper.GetCFormDataForForeignNationals(bookingId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemple #4
0
 public BookingRoomReportsDTO[] GetOtherBookingsOfThisRoom(string RoomNo, DateTime StartDate, DateTime EndDate)
 {
     try
     {
         if (bookingReportHelper == null)
         {
             bookingReportHelper = new BookingReportHelper();
         }
         return(bookingReportHelper.GetOtherBookingsOfThisRoom(RoomNo, StartDate, EndDate));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemple #5
0
 public BookingRoomReportsDTO[] GetBookingWithinCurrentBookingDates(int BookingiD)
 {
     try
     {
         if (bookingReportHelper == null)
         {
             bookingReportHelper = new BookingReportHelper();
         }
         return(bookingReportHelper.GetBookingWithinCurrentBookingDates(BookingiD));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemple #6
0
 public BookingDTMail[] GetBookingDetailsMail(int BookingId)
 {
     try
     {
         if (bookingReportHelper == null)
         {
             bookingReportHelper = new BookingReportHelper();
         }
         return(bookingReportHelper.GetBookingDetailsmail(BookingId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Exemple #7
0
 public BookingRoomReportsDTO[] GetDetailedBookingDetails(int BookingId)
 {
     try
     {
         if (bookingReportHelper == null)
         {
             bookingReportHelper = new BookingReportHelper();
         }
         return(bookingReportHelper.GetDetailedBookingDetails(BookingId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }