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