title: How to pass values from view to controller in ASP.NET MVC 3 (Razor)?
body: <p>I have this table in database:</p>
  
  <p><a href="http://i.stack.imgur.com/C7CWX.png" rel="nofollow">http://i.stack.imgur.com/C7CWX.png</a></p>
  
  <p>And I display all value in 'music' without repitions by this code(View):</p>
  
  <pre><code>@foreach (var item in Model.Select(m =&gt; m.music).Distinct())
  {
      &lt;tr&gt;
          &lt;td&gt;
              @Html.ActionLink(item, "Deep", ViewData["item"])
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>Jazz
  Disko
  Rock
  Metal
  </code></pre>
  
  <p>And I want when I pressed 'Jazz' result was 'Miles','Kirk' etc.
  How do it?
  I think I may pass value from View to Controller, but i dont know how do it in my situation.
  Please help me</p>
  
  <p>Action in controller(for example):</p>
  
  <pre><code>    public ActionResult Deep(string music)
      {
  
          var res = (from m in d.table where m.music == music select m);
          return View(res);
      }
  </code></pre>