Beispiel #1
0
 public void EducationModuleInitialize()
 {
     _educationModuleRepository = new EducationModuleRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationModuleBL         = new EducationModuleImpl(_educationModuleRepository);
     _fileTypeRepository        = new FileTypeRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _fileTypeBL = new FileTypeImpl(_fileTypeRepository);
     _educationModuleFileRepository = new EducationModuleFileRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _educationModuleFileBL         = new EducationModuleFileImpl(_educationModuleFileRepository);
 }
 public EducationModuleService(IEducationModule educationModule, IEducationModuleFile educationModuleFile, IFileType fileType)
 {
     _educationModule     = educationModule;
     _educationModuleFile = educationModuleFile;
     _fileType            = fileType;
 }