Exemplo n.º 1
0
 public HotelPropertyInfo2Service( iPow.Domain.Repository.IHotelPropertyInfo2Repository hotelPropertyInfo2)
 {
     if (hotelPropertyInfo2 == null)
         {
             throw new ArgumentNullException(" hotelPropertyInfo2Repository   is null");
         }
         hotelPropertyInfo2Repository = hotelPropertyInfo2;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HotelInfoService"/> class.
 /// </summary>
 /// <param name="hotelPropertyInfo">The hotel property info.</param>
 public HotelInfoService(iPow.Domain.Repository.IHotelPropertyInfo2Repository hotelPropertyInfo)
 {
     if (hotelPropertyInfo == null)
     {
         throw new ArgumentNullException("hotelPropertyInfoRepository is null");
     }
     hotelPropertyInfoRepository = hotelPropertyInfo;
 }