public VotingController(IOptions <AppSettings> _appSettings, IAuthenticateHelper _authHelper) { appSettings = _appSettings.Value; facade = new VotingFacade(appSettings.VotingPlatformConnectionString); authHelper = _authHelper; }
public Voting() { facade = new VotingFacade(connectionString); request = new VotingRequest(); }