/// <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); }
/// <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); }