Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EbookController"/> class.
 /// </summary>
 /// <param name="work">The work.</param>
 /// <param name="ipowHotelEbook">The ipow hotel ebook.</param>
 public EbookController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
     iPow.Service.Union.Service.IHotelEbookService ipowHotelEbook)
     : base(work)
 {
     if (ipowHotelEbook == null)
     {
         throw new ArgumentNullException("hotelEbookService is null");
     }
     hotelEbookService = ipowHotelEbook;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EbookController"/> class.
 /// </summary>
 /// <param name="work">The work.</param>
 /// <param name="ipowHotelEbook">The ipow hotel ebook.</param>
 public EbookController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
                        iPow.Service.Union.Service.IHotelEbookService ipowHotelEbook)
     : base(work)
 {
     if (ipowHotelEbook == null)
     {
         throw new ArgumentNullException("hotelEbookService is null");
     }
     hotelEbookService = ipowHotelEbook;
 }