title: MVC Razor button click even pass parameter with it
body: <p>I'm new to MVC Razor.</p>
  
  <p>I have this view:</p>
  
  <pre><code>@model SuburbanCustPortal.Models.CustomerModel
  
  @{
      ViewBag.Title = "Customer Summary";
  }
  
  &lt;h2&gt;Customer Summary Screen&lt;/h2&gt;
  &lt;p&gt;
      Please select an account below or add an existing account.
  &lt;/p&gt;
  
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  
  @using (Html.BeginForm())
  {
    @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.")
  
    &lt;div&gt;
      &lt;fieldset&gt;
        &lt;legend&gt;Existing Accounts&lt;/legend&gt;
  
        @Html.Action("ExistingAccounts2")
  
        &lt;p&gt;
          &lt;input type="submit" value="Add an Account" /&gt;
        &lt;/p&gt;
  
  
      &lt;/fieldset&gt;
    &lt;/div&gt;
  }
  </code></pre>
  
  <p>Which calls this method:</p>
  
  <pre><code>[Authorize]
  public ActionResult ExistingAccounts2()
  {
    return PartialView("ExistingAccounts", _client.RequestCustomersForAccount(User.Identity.Name));
  }
  </code></pre>
  
  <p>Which in turn calls this partial view:</p>
  
  <pre><code>@model IEnumerable&lt;SuburbanCustPortal.SuburbanService.CustomerData &gt;
  
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;table&gt;
  
    @if (Model != null)
    {
      foreach (var usr in Model)
      {
        &lt;tr&gt;      
          &lt;td&gt;
            &lt;input id="btnShowCustomer" name="btnShowCustomer2" type="submit" value="View"/&gt;           
          &lt;/td&gt;
          &lt;td&gt;
            @usr.AccountId
          &lt;/td&gt;
          &lt;td&gt;
            @usr.Name
          &lt;/td&gt;
  @*        &lt;td&gt;
            @usr.DeliveryStreet
          &lt;/td&gt;*@
        &lt;/tr&gt;
      }
    }
  
  &lt;/table&gt;
  &lt;br /&gt;
  </code></pre>
  
  <p>Which ends up displaying this:</p>
  
  <p><img src="https://i.stack.imgur.com/bm0gw.png" alt="enter image description here"></p>
  
  <p>This works up to this point.</p>
  
  <p>What I want to so is be able to click on the button next to the customer's name and it pull up the customer's account.</p>
  
  <p>How do I tie that customer to the button to know who to pull up and how do have the button click pull it up?</p>