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); }
public HomeContentService(IHomeContentRepository iHomeContentRepository, IUnitOfWork iUnitOfWork) { this._iHomeContentRepository = iHomeContentRepository; this._iUnitOfWork = iUnitOfWork; }
public HomeContentService( IUnitOfWork unitwork, IHomeContentRepository homeRepository ) { this.unitwork = unitwork; this.homeRepository = homeRepository; }