title: Use Lambda expression to get value from model
body: <p>Despite a lot of searching, I can't get the correct Lambda expression the get the info I want from the DB. My problem is this:</p>
  
  <p>An Action method in the controller gets an id value as an in parameter. With the id, I want to get the Name in the Products class that match the id with the Products CategoriesID. I have started, but I don't know how to finish it. Can I get some help with this? I guess I'm doing wrong here?</p>
  
  <pre><code>ViewBag.Categori = db.Products.Where(x =&gt; x.Name.Equals(??))
  </code></pre>