Exemple #1
0
 public LogSessionImpl(ILogSessionRepository logSessionRepository, IEducationRepository educationRepository, IMyEducationRepository MyEducationRepository, IUserRepository userRepository)
 {
     _logSessionRepository  = logSessionRepository;
     _EducationRepository   = educationRepository;
     _MyEducationRepository = MyEducationRepository;
     _UserRepository        = userRepository;
 }
Exemple #2
0
 public void LogSessionInitialize()
 {
     _logSessionRepository  = new LogSessionRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _myEducationRepository = new MyEducationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _EducationRepository   = new EducationRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _UserRepository        = new UserRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
     _logSessionBL          = new LogSessionImpl(_logSessionRepository, _EducationRepository, _myEducationRepository, _UserRepository);
 }