Esempio n. 1
0
 public Task <List <Result> > Vote(int pollId, [FromBody] Models.Other.CRUD.PollVote pollVote)
 {
     _logger.Debug("Requesting to create a new vote on poll with id {pollId}", pollId);
     return(_pollRepository.CreateVoteOnPollAsync(pollVote));
 }