public CreateVoteCandidateCommandHandler(IVoterCandidateRepository voterCandidateRepository, ICandidateRepository candidateRepository,
                                          IMapper mapper)
 {
     _voterCandidateRepository = voterCandidateRepository;
     _mapper = mapper;
     _candidateRepository = candidateRepository;
 }
Example #2
0
 public GetVoterCandidateByVoterAndCandidateIdQueryHandler(IVoterCandidateRepository voterCandidateRepository, IMapper mapper)
 {
     _voterCandidateRepository = voterCandidateRepository;
     _mapper = mapper;
 }
Example #3
0
 public GetSharpForCandidateQueryHandler(IVoterCandidateRepository voterCandidateRepository, IMapper mapper)
 {
     _voterCandidateRepository = voterCandidateRepository;
     _mapper = mapper;
 }
 public VoterHasVoterForCategoryQueryHandler(IVoterCandidateRepository voterCandidateRepository, IMapper mapper)
 {
     _voterCandidateRepository = voterCandidateRepository;
     _mapper = mapper;
 }