public bool CastVoteFromLeader(IVotingLeader leader, Voting onWhat, Vote vote) { bool voteRegistered = onWhat.RegisterVote(vote); if (voteRegistered) { VoteCast(this, onWhat, vote); } return voteRegistered; }
public bool CastVote(Voting onWhat, Vote vote) { bool voteRegistered = onWhat.RegisterVote(vote); if (voteRegistered) { VoteCast(this, onWhat, vote); } return voteRegistered; }
public bool CastVote(Dem2Model.Voting onWhat, Vote vote) { bool voteRegistered = onWhat.RegisterVote(vote); if (voteRegistered) { VoteCast(this, onWhat, vote); } return(voteRegistered); }
public bool CastVoteFromLeader(IVotingLeader leader, Voting onWhat, Vote vote) { bool voteRegistered = onWhat.RegisterVote(vote); if (voteRegistered) { VoteCast(this, onWhat, vote); } return(voteRegistered); }