public QuestionService(IUnitOfWork unitOfWork, IAnswerOptionService answerOptionService, IApplicationUserManager userManager, IMappingEngine mappingEngine) { _userManager = userManager; _unitOfWork = unitOfWork; _questions = _unitOfWork.Set<Question>(); _mappingEngine = mappingEngine; _answerOptionService = answerOptionService; }
public QuestionService(IUnitOfWork unitOfWork, IAnswerOptionService answerOptionService, IApplicationUserManager userManager, IMappingEngine mappingEngine) { _userManager = userManager; _unitOfWork = unitOfWork; _questions = _unitOfWork.Set <Question>(); _mappingEngine = mappingEngine; _answerOptionService = answerOptionService; }
public ArticleEvaluationService(IAnswerOptionService answerOptionService, IQuestionService questionService, IUnitOfWork unitOfWork, IApplicationUserManager userManager, IMappingEngine mappingEngine) { _userManager = userManager; _unitOfWork = unitOfWork; _answerOptionService = answerOptionService; _questionService = questionService; _ArticleEvaluations = _unitOfWork.Set<ArticleEvaluation>(); _mappingEngine = mappingEngine; _evaluationQuestions = _unitOfWork.Set<ArticleEvaluationQuestion>(); }