public PoliticPartiesController(IPoliticPartyService politicPartyService, IElectionRepository electionRepository, IHostingEnvironment hostingEnvironment, IElectionService electionService) { this._politicPartyService = politicPartyService; this._electionRepository = electionRepository; this._hostingEnvironment = hostingEnvironment; this._electionService = electionService; }
public CandidatesController(ICandidateService candidateService, IPoliticPartyService politicPartyService, IPositionService positionService, IElectionService electionService, IHostingEnvironment hostingEnvironment) { //_context = context; this._candidateService = candidateService; this._politicPartyService = politicPartyService; this._positionService = positionService; this._electionService = electionService; this._hostingEnvironment = hostingEnvironment; }
//#endregion //#region Constructor public EnrolmentController(IUnitOfWork unitOfWork, IElectionService artService , IStudentService st, IUserService us, ISettingService set, ITermService tr, IPeresentedCoursesService pr) { _unitOfWork = unitOfWork; _ElectionService = artService; _StudentService = st; _UserService = us; _SettingService = set; _TermService = tr; _PeresentedCoursesService = pr; }
public ElectionsController(IElectionService electionService, IPositionService positionService, ICandidateService candidateService, IPoliticPartyService politicPartyService, ICitizenService citizenService, IMapper mapper, IResultRepository resultRepository, IElectionCitizenRepository electionCitizenRepository, Sistema_de_votacion.Mail.IEmailSender emailSender) { _electionService = electionService; _positionService = positionService; _candidateService = candidateService; _politicPartyService = politicPartyService; _citizenService = citizenService; _mapper = mapper; this._resultRepository = resultRepository; this._electionCitizenRepository = electionCitizenRepository; this._emailSender = emailSender; }
public ElectionsController(IElectionService service) { _service = service; }
public ElectionRepository(ILogger <ElectionRepository> logger, IElectionService electionService) { this._logger = logger; this.electionService = electionService; }
public CitizensController(ICitizenService citizenServices, IElectionService electionService) { _citizenServices = citizenServices; _electionService = electionService; }
public ElectionController() { _electionService = new ElectionService(); }
public ElectionController(IElectionService electionService) { _electionService = electionService; }
public PositionsController(IPositionService positionService, IElectionService electionService) { _positionService = positionService; _electionService = electionService; }