예제 #1
0
 public TemplateServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>();
     _templateLogServices       = HostContainer.GetInstance <ITemplateLogServices>();
     _curlyBracketServices      = HostContainer.GetInstance <ICurlyBracketServices>();
     _userServices          = HostContainer.GetInstance <IUserServices>();
     _settingServices       = HostContainer.GetInstance <ISettingServices>();
     _templateRepository    = new TemplateRepository(entities);
     _templateLogRepository = new TemplateLogRepository(entities);
 }
예제 #2
0
 public TemplateServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _templateLogServices = HostContainer.GetInstance<ITemplateLogServices>();
     _curlyBracketServices = HostContainer.GetInstance<ICurlyBracketServices>();
     _userServices = HostContainer.GetInstance<IUserServices>();
     _settingServices = HostContainer.GetInstance<ISettingServices>();
     _templateRepository = new TemplateRepository(entities);
     _templateLogRepository = new TemplateLogRepository(entities);
 }
예제 #3
0
 public TemplateLogServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _templateLogRepository = new TemplateLogRepository(entities);
     _templateRepository = new TemplateRepository(entities);
 }
예제 #4
0
 public TemplateLogServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance <ILocalizedResourceServices>();
     _templateLogRepository     = new TemplateLogRepository(entities);
     _templateRepository        = new TemplateRepository(entities);
 }