Beispiel #1
0
 public TestLoginController(IUserService userService, IExamPaperQuestionService examPaperQuestionService, IQuestionService questionService, IAnswerService answerService, IExamPaperService examPaperService) : base(userService)
 {
     this.examPaperQuestionService = examPaperQuestionService;
     this.questionService          = questionService;
     this.answerService            = answerService;
     this.examPaperService         = examPaperService;
 }
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ExamPaperController"/> class.
        /// </summary>
        /// <param name="examPaperService">The examPaperService<see cref="IExamPaperService"/></param>
        /// <param name="questionService">The questionService<see cref="IQuestionService"/></param>
        /// <param name="answerService">The answerService<see cref="IAnswerService"/></param>
        /// <param name="examPaperQuestionService">The examPaperQuestionService<see cref="IExamPaperQuestionService"/></param>
        /// <param name="questionCategorySevice">The questionCategorySevice<see cref="IQuestionCategorySevice"/></param>

        public ExamPaperController(IUserService a, IExamPaperService examPaperService, IQuestionService questionService, IAnswerService answerService, IExamPaperQuestionService examPaperQuestionService, IQuestionCategorySevice questionCategorySevice) : base(a)
        {
            this.examPaperService         = examPaperService;
            this.questionService          = questionService;
            this.answerService            = answerService;
            this.examPaperQuestionService = examPaperQuestionService;
            this.questionCategorySevice   = questionCategorySevice;
        }