title: issues in MVC remote validation
body: <p>My code is like this</p>
  
  <pre><code>   public class Payer
  {
      public int PayerId { get; set; }
      [Remote("PayerNameExists", "Payer", "Payer name  already exists.", AdditionalFields = "PayerID"), Required]
      public string Name { get; set; }
      public double PatientContribution { get; set; }
  }
  </code></pre>
  
  <p>Inside controller</p>
  
  <pre><code> public JsonResult PayerNameExists(string Name,int PayerID=0)
  {
  
      var user = db.Payer.Where(x =&gt; x.Name == Name.Trim()&amp;&amp;x.PayerId!=PayerID);
      return !user.Any() ?
          Json(true, JsonRequestBehavior.AllowGet) :
          Json(string.Format("{0} is already exists.", Name),
              JsonRequestBehavior.AllowGet);
  }
  </code></pre>
  
  <p>and in view (<code>Edit</code>)</p>
  
  <pre><code>   @Html.TextBoxFor(model =&gt; model.Name)
  </code></pre>
  
  <p>My problem is that inside the function <code>PayerNameExists</code>  <code>PayerID</code> always comes as <code>zero</code> I expect to get my model ID out there. Can anyone tell me how I can achieve this?</p>
  
  <p>Note: Data send from client side is liek this</p>
  
  <blockquote>
    <p>/Payer/PayerNameExists?area=Payer%20name%20%20already%20exists.&amp;Name=ICICIx&amp;PayerID=undefined</p>
  </blockquote>