title: Asp.net mvc 4 jquery ajax request return internal server error
body: <p>I tried to establish ajax request to asp.net mvc controller , but it give me internal server error </p>
  
  <pre><code>// My Products Controller
  [HttpPost]
      public ActionResult FilterCategeory(int prodID) 
      {
          var categs = new Categ() {PROD_ID=prodID }.Search();
          return Json(categs);
      }
  
  //My ajax request 
  $("#categs").empty();
      var prm = $("#prods").val();
      $.ajax({
          type: "POST",
          url: '@Url.Action("FilterCategeory", "Products")',
          contentType: "application/json; charset=utf-8",
          data: {prodID: prm },
          dataType: "json",
          success: function (data)
          {
             alert('Success');
          },
          error: function () { alert('error');}
          });
  </code></pre>