I have the table that record the in and out of item.

```
 Id    Name Status Created
 1     A1   1      9/11/2018 14:00:00 <- 1
 2     A1   1      9/11/2018 14:01:00 <- 2
 3     A1   1      9/11/2018 14:02:00 <- 3
 4     A2   1      9/11/2018 14:03:00 <- 4
 5     A3   1      9/11/2018 14:04:00 <- 5
 6     A1   0      9/11/2018 14:05:00 <- consider 1 is taken out.
 7     A1   1      9/11/2018 14:06:00 <- 6

```

I wanna filter the pair; index 1 and index 6, from table. And leave me with items with status 1. The correct table should be like the following

```
 Id    Name Status Created

 2     A1   1      9/11/2018 14:01:00 <- 2
 3     A1   1      9/11/2018 14:02:00 <- 3
 4     A2   1      9/11/2018 14:03:00 <- 4
 5     A3   1      9/11/2018 14:04:00 <- 5

 7     A1   1      9/11/2018 14:06:00 <- 6

```

but my lambda expression to filter items with status 1

```
public class Item {
   public int Id;
   public string Name;
   public bool Status;
   public DateTime;
}
var Items = new List<Item>();
// This give me everything
Items = await db.items.Where(i => i.Status == true).ToListAsync();

```

I got the list of every item with status 1

```
 Id    Name Status Created
 1     A1   1      9/11/2018 14:00:00 <- 1
 2     A1   1      9/11/2018 14:01:00 <- 2
 3     A1   1      9/11/2018 14:02:00 <- 3
 4     A2   1      9/11/2018 14:03:00 <- 4
 5     A3   1      9/11/2018 14:04:00 <- 5

 7     A1   1      9/11/2018 14:06:00 <- 6

```

How do I apply lambda expression to filter out a pair with same name to be removed from my list? I want to know any shortcut with lambda expression to filter such list?

Examples:

```
 Id  Name Status DateTime             Id Name Status DateTime
  6  A1   0      9/11/2018 14:05:00   1  A1   1      9/11/2018 14:00:00
  // this id 1 and id 6 i want to remove based on name and date time
                                      2  A1   1      9/11/2018 14:01:00
                                      3  A1   1      9/11/2018 14:02:00 
                                      4  A2   1      9/11/2018 14:03:00
                                      5  A3   1      9/11/2018 14:04:00
                                      7  A1   1      9/11/2018 14:06:00

```