I am playing with LINQ to learn about it, but I can\'t figure out how to use Distinct when I do not have a simple list (a simple list of integers is pretty easy
Distinct
Please give a try with below code.
var Item = GetAll().GroupBy(x => x .Id).ToList();