public void PlaceVote() { if (Poll.IsOneVoteForUser && dataProvider.VoteExists(Poll)) { return; } PollAnalytics.PlaceVote(this); }
/// <summary> /// Check if votes exists. /// </summary> /// <returns></returns> public bool VoteExists() { return(DataProvider.VoteExists(this)); }