Exemplo n.º 1
0
        public void DownVote(Guid contributorId)
        {
            var vote = new DownVote(contributorId);

            Votes.Add(vote);

            DomainEvents.Publish(new QuestionDownVoted(Id, GetVoteCount(), contributorId));
        }
Exemplo n.º 2
0
        public void DownVote(Guid contributorId)
        {
            var vote = new DownVote(contributorId);

            Votes.Add(vote);
        }