Beispiel #1
0
 public NewsServices(PXHotelEntities entities)
 {
     _localizedResourceServices = HostContainer.GetInstance<ILocalizedResourceServices>();
     _newsCategoryServices = HostContainer.GetInstance<INewsCategoryServices>();
     _newsRepository = new NewsRepository(entities);
     _newsNewsCategoryRepository = new NewsNewsCategoryRepository(entities);
 }
Beispiel #2
0
 public NewsServices(PXHotelEntities entities)
 {
     _localizedResourceServices  = HostContainer.GetInstance <ILocalizedResourceServices>();
     _newsCategoryServices       = HostContainer.GetInstance <INewsCategoryServices>();
     _newsRepository             = new NewsRepository(entities);
     _newsNewsCategoryRepository = new NewsNewsCategoryRepository(entities);
 }