title: Parse DateTime? format from ajax to asp.net mvc controller
body: <p>I would like to parse <code>DateTime?</code>  from ajax to asp.net mvc controller.</p>
  
  <p>I have following code, where @Model.DateA and @Model.DateB is in <code>DateTime?</code> class. The error i got is uncaught syntax error: unexpected number</p>
  
  <pre><code>[HttpPost]
  public class CheckDate(DateTime? datea, DateTime? dateb)
  {
  }
  
  $.ajax({
    ...
    data: {'datea': @Model.DateA, 'dateb': @Model.DateB }
    ....
  });
  </code></pre>