Esempio n. 1
0
 public PageServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _pageTemplateServices = HostContainer.GetInstance<IPageTemplateServices>();
     _curlyBracketServices = HostContainer.GetInstance<ICurlyBracketServices>();
     _clientMenuServices = HostContainer.GetInstance<IClientMenuServices>();
     _pageLogServices = HostContainer.GetInstance<IPageLogServices>();
     _settingServices = HostContainer.GetInstance<ISettingServices>();
     _templateServices = HostContainer.GetInstance<ITemplateServices>();
     _userServices = HostContainer.GetInstance<IUserServices>();
     _pageRepository = new PageRepository(entities);
     _clientMenuRepository = new ClientMenuRepository(entities);
     _pageLogRepository = new PageLogRepository(entities);
     _pageTagRepository = new PageTagRepository(entities);
     _tagRepository = new TagRepository(entities);
 }
Esempio n. 2
0
 public PageServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>();
     _pageTemplateServices      = HostContainer.GetInstance <IPageTemplateServices>();
     _curlyBracketServices      = HostContainer.GetInstance <ICurlyBracketServices>();
     _clientMenuServices        = HostContainer.GetInstance <IClientMenuServices>();
     _pageLogServices           = HostContainer.GetInstance <IPageLogServices>();
     _settingServices           = HostContainer.GetInstance <ISettingServices>();
     _templateServices          = HostContainer.GetInstance <ITemplateServices>();
     _userServices         = HostContainer.GetInstance <IUserServices>();
     _pageRepository       = new PageRepository(entities);
     _clientMenuRepository = new ClientMenuRepository(entities);
     _pageLogRepository    = new PageLogRepository(entities);
     _pageTagRepository    = new PageTagRepository(entities);
     _tagRepository        = new TagRepository(entities);
 }
Esempio n. 3
0
 public ClientMenuServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _clientMenuRepository = new ClientMenuRepository(entities);
     _pageRepository = new PageRepository(entities);
 }
Esempio n. 4
0
 public ClientMenuServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>();
     _clientMenuRepository      = new ClientMenuRepository(entities);
     _pageRepository            = new PageRepository(entities);
 }