Ejemplo n.º 1
0
        /// <summary>
        /// Randomized the list of possible matches so that we don't have the possibilities returned in the same order everytime
        /// </summary>
        /// <returns></returns>
        public static List <Tuple <Cat, Cat> > CatsToCompare()
        {
            var cats = RatingRepository.GetCats();

            //Randomized the list of the possible matches
            var list = Generator.GenerateAllPossibilities <Cat>(cats).Randomize();

            return(list);
        }