/// <summary> /// Un-does a vote from a specific client. If the specified client didn't vote, this method does nothing. /// </summary> /// <param name="c">The client whose vote to remove.</param> public void UndoVote(Client c) { Votes.RemoveAll(v => v.EqualsClient(c)); }
public void RemoveVotesFrom(ulong userId) => Votes.RemoveAll(x => x.UserId == userId);