public QuizService(IQuestionsRepository iQuestionsRepository, IQuizCategoryRepository iQuizCategoryRepository,
                    IQuizOptionRepository iQuizOptionRepository)
 {
     this.iQuestionsRepository    = iQuestionsRepository;
     this.iQuizCategoryRepository = iQuizCategoryRepository;
     this.iQuizOptionRepository   = iQuizOptionRepository;
 }
示例#2
0
 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();
 }
示例#4
0
 public QuizCategoryService(IQuizCategoryRepository quizCategoryRepository)
 {
     _quizCategoryRepository = quizCategoryRepository;
 }