C# .NET: Lambda - Remove From One List Based on Like Id's in Another List

12/19/2012 12:20:34 AM
//remove from one list based on like Id's in another list
this.Model.AllContent.RemoveAll(x => this.Model.RelatedContents.Select(y => y.RelatedContentId).Contains(x.Id));