示例#1
0
 public List <SeriesDTO> GetSeries(int AccomodationId, DateTime SeriesStartDate)
 {
     try
     {
         if (seriesHandler == null)
         {
             seriesHandler = new SeriesHandler();
         }
         return(seriesHandler.GetSeries(AccomodationId, 0, SeriesStartDate));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
示例#2
0
 public SeriesDTO GetSeries(int SeriesId)
 {
     try
     {
         if (seriesHandler == null)
         {
             seriesHandler = new SeriesHandler();
         }
         return(seriesHandler.GetSeries(SeriesId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
示例#3
0
 public bool AddSeriesBooking(SeriesDTO SeriesDTO, List <SeriesDetailDTO> oSeriesDetailDatas, List <BookingOfSeriesDTO> oBookingOfSeriesDTO, out int SeriesId)
 {
     try
     {
         if (seriesHandler == null)
         {
             seriesHandler = new SeriesHandler();
         }
         return(seriesHandler.AddSeriesBooking(SeriesDTO, oSeriesDetailDatas, oBookingOfSeriesDTO, out SeriesId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
示例#4
0
 public List <SeriesDTO> GetSeriesOfAccomodation(int AccomodationId)
 {
     try
     {
         if (seriesHandler == null)
         {
             seriesHandler = new SeriesHandler();
         }
         return(seriesHandler.GetSeriesOfAccomodation(AccomodationId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
示例#5
0
 public SeriesDTO[] GetRoomsForSeries(int AccomodationId)
 {
     try
     {
         if (seriesHandler == null)
         {
             seriesHandler = new SeriesHandler();
         }
         return(seriesHandler.GetRoomsForSeries(AccomodationId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }