long openStatusId = new Status().OpenStatusId; var list = Filter(x => x.ShopId == shopId && x.OrderCustomer.Any(y => x.OrderCustomer.Any== codeCustomer) && x.LastStatus == ......; return list.ToList();