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