Example #1
0
 public void Record(Vote vote)
 {
     Console.WriteLine("Received a vote for " + vote.Choice);
 }
Example #2
0
 public void Handle(Vote vote)
 {
     votingService.Record(vote);
 }
Example #3
0
 public VoteResult Handle(Vote vote)
 {
     return(votingService.Record(vote));
 }