title: Where clausole in LINQ on Razorpage don't work
body: <p>i'm developing a Razor WebApp and when i use this LINQ code, it doesn't work as aspected.
  This is my Razor code:</p>
  
  <pre><code>var menuItems = menus.GetMenuMaster(@UserRoles).Result.Where(n =&gt; n.Parent_MenuID == "*");    
  
  @foreach (var menuNames in menuItems)
  {
     var submenus = menuItems.Where(n =&gt; n.Parent_MenuID == menuNames.MenuID))
  }
  </code></pre>
  
  <p>The DB contains this data:</p>
  
  <pre><code>   ID   | MenuID    | MENUNAME  | Parent_MenuID
  ---------------------------------------------------
      1   | HOME      | HOME      | *
      2   | MOVIES    | MOVIES    | *
      3   | ACTORS    | ACTORS    | MOVIES
  </code></pre>
  
  <p>The problem is that "submenus" are empty for HOME menu, but must have the ACTORS submenu; "menuItems" contain all the tree menu items.</p>