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 HotelServicesController(IHotelServiceServices hotelServiceServices) { _hotelServiceServices = hotelServiceServices; }
public HotelRoomTypesController(IHotelRoomTypeServices hotelRoomTypeServices, IHotelServiceServices hotelServiceServices) { _hotelRoomTypeServices = hotelRoomTypeServices; _hotelServiceServices = hotelServiceServices; }