Beispiel #1
0
 public CorrectExamApp(IExamRecordApp recordApp, IQuestionApp questionApp, IExamPaperApp examPaperApp, IUserApp userApp)
 {
     _recordApp    = recordApp;
     _questionApp  = questionApp;
     _examPaperApp = examPaperApp;
     _userApp      = userApp;
 }
 public HomeController(IExamPaperApp examPaperApp, ICorrectExamApp correctApp, IExamRecordApp recordApp, IUserApp userApp, ILogger <HomeController> logger)
 {
     _examPaperApp = examPaperApp;
     _recordApp    = recordApp;
     _correctApp   = correctApp;
     _userApp      = userApp;
     _log          = logger;
     _users        = _userApp.Query();
 }