示例#1
0
 public HotelRoomTypeServices(PXHotelEntities entities)
 {
     _localizedResourceServices  = HostContainer.GetInstance <ILocalizedResourceServices>();
     _hotelServiceServices       = HostContainer.GetInstance <IHotelServiceServices>();
     _hotelRoomTypeRepository    = new HotelRoomTypeRepository(entities);
     _hotelRoomServiceRepository = new HotelRoomServiceRepository(entities);
     _hotelRoomImageRepository   = new HotelRoomImageRepository(entities);
 }
示例#2
0
 public HotelRoomTypeServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _hotelServiceServices = HostContainer.GetInstance<IHotelServiceServices>();
     _hotelRoomTypeRepository = new HotelRoomTypeRepository(entities);
     _hotelRoomServiceRepository = new HotelRoomServiceRepository(entities);
     _hotelRoomImageRepository = new HotelRoomImageRepository(entities);
 }
示例#3
0
 public HotelRoomsController(
     HotelRoomRepository hotelRoomRepository,
     HotelRoomTypeRepository hotelRoomTypeRepository,
     HotelRoomSizeRepository hotelRoomSizeRepository
     )
 {
     this._hotelRoomRepository     = hotelRoomRepository;
     this._hotelRoomTypeRepository = hotelRoomTypeRepository;
     this._hotelRoomSizeRepository = hotelRoomSizeRepository;
 }
 public HTService(HotelRoomRepository hotelRoomRepository,
                  HotelRoomTypeRepository hotelRoomTypeRepository,
                  PlayerUserRepository playerUserRepository,
                  TamagotchiRepository tamagotchiRepository)
 {
     this._hotelRoomRepository     = hotelRoomRepository;
     this._hotelRoomTypeRepository = hotelRoomTypeRepository;
     this._playerUserRepository    = playerUserRepository;
     this._tamagotchiRepository    = tamagotchiRepository;
 }