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