예제 #1
0
 /// <summary>
 /// Creates a new instance of the oneVote repo
 /// </summary>
 /// <param name="dbPassword">Password for the db</param>
 public OneVoteRepository(string dbPassword)
 {
     this.db = new VotoeDbContext(dbPassword);
 }
예제 #2
0
 /// <summary>
 /// Creates a new instance of the RoleSwitch repo
 /// </summary>
 /// <param name="dbPassword">Password for the db</param>
 public RoleSwitchRepository(string dbPassword)
 {
     this.db = new VotoeDbContext(dbPassword);
 }