Example #1
0
        public IEnumerable <VoteDto> GetVotesForUser(string username)
        {
            var votes = _couchDb.FindByUsername <Vote>(username);

            return(_dtoService.ConvertVotes(votes));
        }