How to solve this with LINQ?
I have a list contain CategoryId and StatusId. If their is a specific
Status then I want to remove all the CategoryId from the list.
In this example I want to remove all the StatusId = 1 and remove that
CategoryId from the list as well. So, in this case Id 1, 3 and 4 will be
removed.
Dim list As New List(Of CatlogViewModel)
' CatlogViewModel has the property of Id, CategoryId, StatusId
No comments:
Post a Comment