Exemple #1
0
        internal List <Vote> GetAllVotesOfDebate(string param)
        {
            List <Vote> allVotes = _voteRepository.GetById(int.Parse(param));

            foreach (Vote v in allVotes)
            {
                v.DebateInfo = new DebateInfo();
            }
            return(allVotes);
        }