public VotingController(IRepository <Candidate> _repository, IMapper _mapper, ICandidateInterface candidateService, IElectionInterface electionService)
 {
     Repository       = _repository;
     Mapper           = _mapper;
     CandidateService = candidateService;
     ElectionService  = electionService;
 }
 public ElectionController(IRepository <Electoral_Room> _repository, IMapper _mapper, IElectionInterface electionService, IRepository <ElectionTypes> _electionRepo)
 {
     Repository      = _repository;
     Mapper          = _mapper;
     ElectionService = electionService;
     electionRepo    = _electionRepo;
 }
 public ElectoralRoomController(IRepository <Electoral_Room> _repository, IMapper _mapper, IElectionInterface electionService)
 {
     Repository      = _repository;
     Mapper          = _mapper;
     ElectionService = electionService;
 }