public EducationImpl(IEducationRepository eduRepository, ICollegeEducationRepository collegeEducationRepository, IEducationFormatAvailableRepository educationFormatAvailableRepository, IEducationTypesAvailableRepository educationTypesAvailableRepository, IEducationDetailPageRepository educationDetailPageRepository, INewsRepository newsRepository, IOrganizationRepository organizationRepository) { _eduRepository = eduRepository; _collegeEducationRepository = collegeEducationRepository; _educationFormatAvailableRepository = educationFormatAvailableRepository; _educationTypesAvailableRepository = educationTypesAvailableRepository; _educationDetailPageRepository = educationDetailPageRepository; _newsRepository = newsRepository; _organizationRepository = organizationRepository; }
public void EducationInitialize() { _educationRepository = new EducationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _collegeEducationRepository = new CollegeEducationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _educationFormatAvailableRepository = new EducationFormatAvialableRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _educationTypesAvailableRepository = new EducationTypesAvailableRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _educationDetailPageRepository = new EducationDetailPageRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _newsRepository = new NewsRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _organizationRepository = new OrganizationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _educationBL = new EducationImpl(_educationRepository, _collegeEducationRepository, _educationFormatAvailableRepository, _educationTypesAvailableRepository, _educationDetailPageRepository, _newsRepository, _organizationRepository); }
public EducationFormatAvialableImpl(IEducationFormatAvailableRepository educationFormatAvailableRepository) { _educationFormatAvailableRepository = educationFormatAvailableRepository; }
public void EducationFormatAvialableInitialize() { _educationFormatAvailableRepository = new EducationFormatAvialableRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>()); _educationFormatAvialableBL = new EducationFormatAvialableImpl(_educationFormatAvailableRepository); }