예제 #1
0
 public UserVote()
 {
     facade  = new UserVoteFacade(connectionString);
     request = new UserVoteRequest();
 }
예제 #2
0
 public UserVoteController(IOptions <AppSettings> _appSettings, IAuthenticateHelper _authHelper)
 {
     appSettings = _appSettings.Value;
     facade      = new UserVoteFacade(appSettings.VotingPlatformConnectionString);
     authHelper  = _authHelper;
 }