public HotelRoomTypeServices(PXHotelEntities entities) { _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>(); _hotelServiceServices = HostContainer.GetInstance <IHotelServiceServices>(); _hotelRoomTypeRepository = new HotelRoomTypeRepository(entities); _hotelRoomServiceRepository = new HotelRoomServiceRepository(entities); _hotelRoomImageRepository = new HotelRoomImageRepository(entities); }
public HotelRoomTypeServices(PXHotelEntities entities) { _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>(); _hotelServiceServices = HostContainer.GetInstance<IHotelServiceServices>(); _hotelRoomTypeRepository = new HotelRoomTypeRepository(entities); _hotelRoomServiceRepository = new HotelRoomServiceRepository(entities); _hotelRoomImageRepository = new HotelRoomImageRepository(entities); }
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; }