public void PlaceVote()
        {
            if (Poll.IsOneVoteForUser && dataProvider.VoteExists(Poll))
            {
                return;
            }

            PollAnalytics.PlaceVote(this);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Check if votes exists.
 /// </summary>
 /// <returns></returns>
 public bool VoteExists()
 {
     return(DataProvider.VoteExists(this));
 }