コード例 #1
0
 public ExamsController(IExamRepository exam, IExamDetailsRepository examDetails,
                        IAccountRepository account, IQuestionRepository question, ILearnRepository learn,
                        IHostingEnvironment hostingEnv, IFileService file,
                        IResultQuestionRepository resultQuestion)
 {
     _exam           = exam;
     _examDetails    = examDetails;
     _account        = account;
     _question       = question;
     _learn          = learn;
     _file           = file;
     _hostingEnv     = hostingEnv;
     _resultQuestion = resultQuestion;
 }
コード例 #2
0
 public QuestionsController(IQuestionRepository question, IResultQuestionRepository resultQuestion)
 {
     _question       = question;
     _resultQuestion = resultQuestion;
 }