title: Facing issue while submitting the form - "500 Internal Server Error"
body: <p><strong>JQuery</strong></p>
  
  <pre><code>$(document).ready(function () {
      var EmailContainer = $('#EmailContainer');
      var url = EmailContainer.attr('data-url');
      EmailContainer.load(url, function () {
          var Emailform = $('#EmailForm');
          $.validator.unobtrusive.parse(Emailform);
          Emailform.submit(function () {
              debugger;
              var Emailform = $(this);
              if (Emailform.valid()) {
                  var SendEmailUrl = EmailContainer.attr('Json-Url');
                  var UserModel = { From: $('#From').val(), To: $('#To').val(), 
                        Subject: $('#Subject').val(), 
                        Description: $('#Description').val() }
                  $.post(SendEmailUrl, UserModel, function (data) {
                      Emailform.html(data);
                      Emailform.removeData('validator');
                      Emailform.removeData('unobtrusiveValidation');
                      $.validator.unobtrusive.parse(Emailform);
                  });
              }
              return false;
          });
      });
  });
  </code></pre>
  
  <p><strong>Admin Controller Partial View</strong></p>
  
  <pre><code>@model _1.Areas.Email.Models.User
  @using (Html.BeginForm("SendEmail", "Admin", FormMethod.Post, new { id = "EmailForm" }))
  {
      @Html.LabelFor(i =&gt; i.From);
      @Html.TextBoxFor(i =&gt; i.From);
      @Html.ValidationMessageFor(i =&gt; i.From);
      &lt;br /&gt;
      @Html.LabelFor(i =&gt; i.To);                           
      @Html.TextBoxFor(i =&gt; i.To); 
      @Html.ValidationMessageFor(i =&gt; i.To);
      &lt;br /&gt;     
      @Html.LabelFor(i =&gt; i.Subject);                           
      @Html.TextBoxFor(i =&gt; i.Subject);
      @Html.ValidationMessageFor(i =&gt; i.Subject);
      &lt;br /&gt;
      @Html.LabelFor(i =&gt; i.Description);                           
      @Html.TextBoxFor(i =&gt; i.Description);
      @Html.ValidationMessageFor(i =&gt; i.Description);
      &lt;br /&gt;
      &lt;input type="submit" value="Send Email" id="SendMail" /&gt;
  }
  </code></pre>
  
  <p><strong>Issue - When submitting the partial view of admin controller. it is giving "500 Internal Server Error"</strong></p>
  
  <p><img src="https://i.stack.imgur.com/WM2K4.png" alt="enter image description here"></p>
  
  <p><strong>Update - 1</strong></p>
  
  <p>As you can see in the Partial View - I am mentioning the action in HTML.BeginForm and also I have submit form. I think request is being submitted more then once?</p>