/// <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; }
/// <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; }