I have written below code but I am getting only one record of each ExchangeDataId.
Please help to get all the data which is groupby ExchangeDataId.
var Report = ExchangeLeads.GroupBy(c => new
{
c.ExchangeDataId
}).SelectMany(grouping=>grouping.Take(1)).ToList();