Esempio n. 1
0
 public HotelBookingServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _hotelRoomTypeServices = HostContainer.GetInstance<IHotelRoomTypeServices>();
     _hotelBookingRepository = new HotelBookingRepository(entities);
     _hotelBookingroomRepository = new HotelBookingRoomRepository(entities);
 }
Esempio n. 2
0
 public HotelBookingServices(PXHotelEntities entities)
 {
     _localizedResourceServices  = HostContainer.GetInstance <ILocalizedResourceServices>();
     _hotelRoomTypeServices      = HostContainer.GetInstance <IHotelRoomTypeServices>();
     _hotelBookingRepository     = new HotelBookingRepository(entities);
     _hotelBookingroomRepository = new HotelBookingRoomRepository(entities);
 }
Esempio n. 3
0
 public HotelRoomTypesController(IHotelRoomTypeServices hotelRoomTypeServices, IHotelServiceServices hotelServiceServices)
 {
     _hotelRoomTypeServices = hotelRoomTypeServices;
     _hotelServiceServices  = hotelServiceServices;
 }
 public HotelRoomTypesController(IHotelRoomTypeServices hotelRoomTypeServices, IHotelServiceServices hotelServiceServices)
 {
     _hotelRoomTypeServices = hotelRoomTypeServices;
     _hotelServiceServices = hotelServiceServices;
 }