title: Ajax not posting data to controller
body: <p>I am posting data through ajax to a action, but the problem I am not able to get the data posted through ajax in my controller action. While debugging, the call gets transferred to action but I dont get anything in data not even 'null'.</p>
  
  <p>here is my ajax call,</p>
  
  <pre><code> $.ajax({
              type: 'POST',
              url:' @Url.Action("PostAmount", "Deal")',
              data: { country: 2, amount: 4.02 },
              datatype:JSON,
  
              success: function (data) {
                  alert("hiiii"+data);
              }
          });
  </code></pre>
  
  <p>and my action,</p>
  
  <pre><code> [HttpPost]
          public JsonResult PostAmount(int country,double amount)
          {
              AllocationViewModel mod = new AllocationViewModel();
              return Json(mod);
          }
  </code></pre>