Exemple #1
0
        /// <summary>
        ///     This method goes through the JobResults property of this class and gets rid of all duplicate entries.
        /// </summary>
        public void getRidOfDuplicates()
        {
            List <Job> holder = (JobResults.ToArray()).GroupBy(x => x.RefID).Select(x => x.First()).ToList();

            JobResults = holder;
        }