title: How to get parameter from url action
body: <p>i have this medthod:</p>
  
  <pre><code> public ActionResult Edit(string Id) {
  
          return PartialView("Edit",Id);
      }
  </code></pre>
  
  <p>and myView:</p>
  
  <pre><code>&lt;a class="openEditdialog" onclick="javascript:OpenWindow('@Url.Action("Edit", "RegisterBrand", new { Id = @item.Id})')" &gt;&lt;/a&gt;
  </code></pre>
  
  <p>but, i don't know why Id variable in Edit() is null????</p>