Esempio n. 1
0
 public CarouselSetUpImpl(ICarouselSetUpRepository carouselSetUpRepository, INewsPhotoRepository newsPhotoRepository, IHomeContentRepository homeContentRepository, IIndustryResearchRepository industryResearchRepository)
 {
     _carouselSetUpRepository    = carouselSetUpRepository;
     _newsPhotoRepository        = newsPhotoRepository;
     _homeContentRepository      = homeContentRepository;
     _industryResearchRepository = industryResearchRepository;
 }
 public void CollegeInitialize()
 {
     _carouselSetupRepository = new CarouselSetUpRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _newsPhotoRepository     = new NewsPhotoRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _homeContentRepository   = new HomeContentRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _industryResearchBL      = new IndustryResearchRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _carouselSetupBL         = new CarouselSetUpImpl(_carouselSetupRepository, _newsPhotoRepository, _homeContentRepository, _industryResearchBL);
 }