public IndexModel(IVotingServices votingServices) { this.votingServices = votingServices; }
public AdminController(IVotingServices votingServices, IOptions <AppSettings> appSettings) { _votingServices = votingServices; _appSettings = appSettings.Value; }
public VoteController(IVotingServices votingServices, IHubContext <VoteHub, IVoteHub> hubContext) { _votingServices = votingServices; _hubContext = hubContext; }
public ResultsModel(IVotingServices votingServices) { this.votingServices = votingServices; }