public ExamInternalImpl(IPreTestResultRepository preTestResultRepository, IPreTestQuestionResultRepository preTestQuestionResultRepository,
                         IExamResultRepository examResultRepository, IExamQuestionResultRepository examQuestionResultRepository, IEvaluationResultRepository evaluationResultRepository, IEvaluationQuestionResultRepository evaluationQuestionResultRepository,
                         IEvaluationAnswerRepository evaluationAnswerRepository)
 {
     _preTestResultRepository            = preTestResultRepository;
     _preTestQuestionResultRepository    = preTestQuestionResultRepository;
     _examResultRepository               = examResultRepository;
     _examQuestionResultRepository       = examQuestionResultRepository;
     _evaluationResultRepository         = evaluationResultRepository;
     _evaluationQuestionResultRepository = evaluationQuestionResultRepository;
     _evaluationAnswerRepository         = evaluationAnswerRepository;
 }
        public void ExamInternalInitialize()
        {
            _preTestResultRepository            = new PreTestResultRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _preTestQuestionResultRepository    = new PreTestQuestionResultRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _examResultRepository               = new ExamResultRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _examQuestionResultRepository       = new ExamQuestionResultRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _evaluationResultRepository         = new EvaluationResultRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _evaluationQuestionResultRepository = new EvaluationQuestionResultRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _evaluationAnswerRepository         = new EvaluationAnswerRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());

            _examInternalBL = new ExamInternalImpl(_preTestResultRepository, _preTestQuestionResultRepository, _examResultRepository,
                                                   _examQuestionResultRepository, _evaluationResultRepository, _evaluationQuestionResultRepository, _evaluationAnswerRepository);
        }