Exemplo n.º 1
0
 public MemberResultService(
     IMemberResultRepository memberResultRepository,
     IUnitOfWork unitOfWork, MemberActionFactory actionFactory
     )
 {
     _unitOfWork             = unitOfWork;
     _actionFactory          = actionFactory;
     _memberResultRepository = memberResultRepository;
 }
Exemplo n.º 2
0
 public MemberQuizService(
     IMemberRepository memberRepository,
     IMemberResultRepository memberResultRepository,
     IMemberQuizAnswerRepository memberQuizAnswerRepository,
     IQuizQuestionRepository quizQuestionRepository,
     IQuizAnswerRepository quizAnswerRepository,
     IUnitOfWork unitOfWork,
     IQuizRepository quizRepository,
     IMemberQuizAnswerOptionsRepository memberQuizAnswerOptionsRepository,
     IGeneralSettingService generalSettingService,
     MemberEditProfileValidator memberEditProfileValidator)
 {
     _memberRepository = memberRepository;
     _quizRepository   = quizRepository;
     _memberQuizAnswerOptionsRepository = memberQuizAnswerOptionsRepository;
     _generalSettingService             = generalSettingService;
     _memberQuizAnswerRepository        = memberQuizAnswerRepository;
     _memberResultRepository            = memberResultRepository;
     _quizQuestionRepository            = quizQuestionRepository;
     _quizAnswerRepository       = quizAnswerRepository;
     _unitOfWork                 = unitOfWork;
     _memberEditProfileValidator = memberEditProfileValidator;
 }
Exemplo n.º 3
0
        public MemberService(
            IMemberRepository memberRepository,
            IMemberResultRepository memberResultRepository,
            IUnitOfWork unitOfWork, MemberActionFactory actionFactory,
            MemberFrontValidator memberValidator,
            MemberChangePasswordValidator memberChangePasswordValidator,
            MemberFrontChangePasswordValidator memberFrontChangePasswordValidator,
            MemberFrontUpdateValidator memberUpdateValidator,
            MemberLoginValidator memberLoginValidator,
            IContactUsInquiryRepository contactUsInquiryRepository)
        {
            _memberRepository                   = memberRepository;
            _memberResultRepository             = memberResultRepository;
            _unitOfWork                         = unitOfWork;
            _actionFactory                      = actionFactory;
            _memberValidator                    = memberValidator;
            _memberChangePasswordValidator      = memberChangePasswordValidator;
            _memberFrontChangePasswordValidator = memberFrontChangePasswordValidator;
            _memberUpdateValidator              = memberUpdateValidator;
            _memberLoginValidator               = memberLoginValidator;
            _contactUsInquiryRepository         = contactUsInquiryRepository;

            MemberMapper.Init();
        }