title: How to pass c# type Guid type variable from ajax call parameters
body: <p>I've post method in my controller, it has Guid Type parameter as shown below</p>
  
  <pre><code>  [HttpPost]
      public ActionResult SaveDiscussion(Guid guid, string Title)
      {
          try
          {
             // some logics here
              return Json(new { success = true, message = "success" }, JsonRequestBehavior.AllowGet);
          }
          catch (Exception e)
          {
              return Json(new { success = false, message = e }, JsonRequestBehavior.AllowGet);
          }
      }
  </code></pre>
  
  <p>this is my ajax call</p>
  
  <pre><code>    $.ajax({
          url: '/Base/SaveDiscussion',
          data: {  guid: $("#DiscussionItemTempId").val(), Title: $(".discussionBox").val() },
          type: "post",
          success: function (response) {
             // some code here
          },
      });
  </code></pre>
  
  <p>I'm getting this exception as shown below in screenshot.
  I think it's something wrong with Guid type parameter in controller</p>
  
  <p><a href="https://i.stack.imgur.com/WUbyS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WUbyS.png" alt="enter image description here"></a></p>
  
  <p>This is network tab status:</p>
  
  <p><a href="https://i.stack.imgur.com/Xbih0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xbih0.png" alt="enter image description here"></a></p>
  
  <p>i've added debugger on my controller, its not hitting my controller so there is nothing wrong code inside my controller method, that's why i've not shown it</p>