How to get parent model as a result. I want to get MasterData type as a result. i want to use where condition in Attributes but i want to receive Master Data Type as a result var result= MasterData.SelectMany(ca => ca.Attributes) .Where(x => MasterDataAttId_All.Contains(x.AttributeId)) .ToList();