public PageTemplateServices(PXHotelEntities entities) { _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>(); _pageTemplateLogServices = HostContainer.GetInstance<IPageTemplateLogServices>(); _settingServices = HostContainer.GetInstance<ISettingServices>(); _templateServices = HostContainer.GetInstance<ITemplateServices>(); _userServices = HostContainer.GetInstance<IUserServices>(); _pageTemplateRepository = new PageTemplateRepository(entities); _fileTemplateRepository = new FileTemplateRepository(entities); _pageRepository = new PageRepository(entities); _pageTemplateLogRepository = new PageTemplateLogRepository(entities); }
public PageTemplateServices(PXHotelEntities entities) { _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>(); _pageTemplateLogServices = HostContainer.GetInstance <IPageTemplateLogServices>(); _settingServices = HostContainer.GetInstance <ISettingServices>(); _templateServices = HostContainer.GetInstance <ITemplateServices>(); _userServices = HostContainer.GetInstance <IUserServices>(); _pageTemplateRepository = new PageTemplateRepository(entities); _fileTemplateRepository = new FileTemplateRepository(entities); _pageRepository = new PageRepository(entities); _pageTemplateLogRepository = new PageTemplateLogRepository(entities); }