public QuizService(IQuestionsRepository iQuestionsRepository, IQuizCategoryRepository iQuizCategoryRepository, IQuizOptionRepository iQuizOptionRepository) { this.iQuestionsRepository = iQuestionsRepository; this.iQuizCategoryRepository = iQuizCategoryRepository; this.iQuizOptionRepository = iQuizOptionRepository; }
public QuizCategoryAdminDeleteAction( IQuizCategoryRepository quizCategoryRepository, IUnitOfWork unitOfWork) { _quizCategoryRepository = quizCategoryRepository; _unitOfWork = unitOfWork; }
public QuizCategoryAdminService( IQuizCategoryRepository quizCategoryRepository, QuizCategoryAdminActionFactory actionFactory, QuizCategoryCreateAdminValidator validatorCreate, QuizCategoryEditAdminValidator validatorEdit, IUnitOfWork unitOfWork) { _quizCategoryRepository = quizCategoryRepository; _actionFactory = actionFactory; _validatorCreate = validatorCreate; _validatorEdit = validatorEdit; _unitOfWork = unitOfWork; QuizCategoryAdminMapper.Init(); }
public QuizCategoryService(IQuizCategoryRepository quizCategoryRepository) { _quizCategoryRepository = quizCategoryRepository; }