/// <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; }
public QuestionController(IUserService user, IQuestionService questionService, IAnswerService answerService, IQuestionCategorySevice questionCategorySevice, IExamPaperService examPaperService) : base(user) { this.questionService = questionService; this.answerService = answerService; this.questionCategorySevice = questionCategorySevice; this.examPaperService = examPaperService; // }
public QuestionCategoryController(IUserService a, IQuestionCategorySevice questionCategorySevice) : base(a) { this.questionCategorySevice = questionCategorySevice; }