public IdeasByTagResponse(string username)
 {
     IdeaFilter = new IdeaFilter(username);
     Ideas = new IdeaByTagResponse[0];
 }
Exemple #2
0
        private IEnumerable<IdeaByTagResponse> SelectRandom(IdeaByTagResponse[] ideas)
        {
            var randomOrder = ideas.Shuffle(new Random());

            return new[] {randomOrder.FirstOrDefault()};
        }