Can you rewrite this using method syntax instead of LINQ syntax?