Esempio n. 1
0
 public CourseController(EEVAContext context)
 {
     _examManager     = new ExamManager(context);
     _courseManager   = new CourseManager(context);
     _contactManager  = new ContactManager(context);
     _questionManager = new QuestionManager(context);
 }
Esempio n. 2
0
        public void CalculatePoints(EEVAContext context)
        {
            CalculateHelper ch = new CalculateHelper(context);

            ch.TotalPoints(this.Id);
            ch.CalculatePoints(this.Id);
        }
Esempio n. 3
0
 public HomeController(EEVAContext context, ILogger <HomeController> logger)
 {
     _courseManager      = new CourseManager(context);
     _contactManager     = new ContactManager(context);
     _studentExamManager = new StudentExamManager(context);
     _logger             = logger;
 }
 public ExamQuestionController(EEVAContext context)
 {
     _questionManager             = new QuestionManager(context);
     _courseManager               = new CourseManager(context);
     _studentExamManager          = new StudentExamManager(context);
     _studentExamAnswerManager    = new StudentExamAnswerManager(context);
     _answerMultipleChoiceManager = new AnswerMultipleChoiceManager(context);
 }
 public QuestionOpenController(EEVAContext context)
 {
     _questionManager = new QuestionManager(context);
     _courseManager   = new CourseManager(context);
 }
Esempio n. 6
0
 public StudentExamManager(EEVAContext context)
 {
     _eevaContext = context;
 }
Esempio n. 7
0
 public ContactManager(EEVAContext context)
 {
     _eevaContext = context;
 }
Esempio n. 8
0
 public AnswerMultipleChoiceController(EEVAContext context)
 {
     _answerMultipleChoiceManager = new AnswerMultipleChoiceManager(context);
     _questionManager             = new QuestionManager(context);
 }
Esempio n. 9
0
 public QuestionManager(EEVAContext context)
 {
     _eevaContext = context;
 }
Esempio n. 10
0
 public CalculateHelper(EEVAContext context)
 {
     _studentExamManager = new StudentExamManager(context);
 }
Esempio n. 11
0
 public StudentController(UserManager <IdentityUser> userManager, EEVAContext context)
 {
     _userManager    = userManager;
     _contactManager = new ContactManager(context);
 }
Esempio n. 12
0
 public AnswerOpenManager(EEVAContext context)
 {
     _eevaContext = context;
 }
 public QuestionMultipleChoiceController(EEVAContext context)
 {
     _questionManager = new QuestionManager(context);
     _courseManager   = new CourseManager(context);
 }
Esempio n. 14
0
 public AnswerOpenController(EEVAContext context)
 {
     _answerOpenManager = new AnswerOpenManager(context);
     _questionManager   = new QuestionManager(context);
 }
Esempio n. 15
0
 public ExamManager(EEVAContext context)
 {
     _eevaContext = context;
 }
 public AnswerMultipleChoiceManager(EEVAContext context)
 {
     _eevaContext = context;
 }