Beispiel #1
0
        //public List<BookingDTO> GetBookings(DateTime FromDate, DateTime ToDate, ENums.BookingStatusTypes BookingStatusType, int AccomTypeId)
        //{
        //    try
        //    {
        //        if (bookingHelper == null)
        //            bookingHelper = new BookingHelper();
        //        return bookingHelper.GetBookings(FromDate, ToDate, BookingStatusType, AccomTypeId, 0);
        //    }
        //    catch (Exception exp)
        //    {
        //        throw exp;
        //    }
        //}

        //public List<BookingDTO> GetBookings(DateTime FromDate, DateTime ToDate, ENums.BookingStatusTypes BookingStatusType, int AccomTypeId, int AccomId)
        //{
        //    try
        //    {
        //        if (bookingHelper == null)
        //            bookingHelper = new BookingHelper();
        //        return bookingHelper.GetBookings(FromDate, ToDate, BookingStatusType, AccomTypeId, AccomId);
        //    }
        //    catch (Exception exp)
        //    {
        //        throw exp;
        //    }
        //}

        public BookingRoomDTO[] GetBookingRoomDetails(int BookingId)
        {
            try
            {
                if (bookingHelper == null)
                {
                    bookingHelper = new BookingHelper();
                }
                return(bookingHelper.GetBookingRoomDetails(BookingId));
            }
            catch (Exception exp)
            {
                throw exp;
            }
        }