예제 #1
0
 public VotingController(IVotingCandidateRepository votingCandidateRepository, IUnitOfWork unitOfWork, IPrimitiveUserIdentificationService primitiveUserIdentificationService, IVoteService voteService, IMessageQueueService messageQueueService, IMapper mapper)
 {
     _votingCandidateRepository = votingCandidateRepository;
     _unitOfWork = unitOfWork;
     _primitiveUserIdentificationService = primitiveUserIdentificationService;
     _voteService         = voteService;
     _messageQueueService = messageQueueService;
     _mapper = mapper;
 }
 public void Setup()
 {
     _primitiveUserIdentificationService = new PrimitiveUserIdentificationService();
 }