title: Difficulty in MVC 4 with Json using ajax
body: <p>I'm trying to pass a variable to my JsonResult but she gets nul so here are my codes from my JsonResult and jQuery</p>
  
  <pre><code>    [HttpPost]
      public JsonResult MostraTela(Teste testea)
      {
  
          return Json(new { success = true });
      }
  </code></pre>
  
  <p>and :</p>
  
  <pre><code>   var testea = JSON.stringify(dado);
                      $.ajax({
                          url: '/Home/MostraTela',
                          type: 'POST',
                          dataType: 'json',
                          contentType: "application/json; charset=utf-8",
                          data: {testea: testea },
                          success: function (data) {
                              alert(data.success);
                          },
                          error: function () {
                              alert("error");
                          },
  
                      });
  </code></pre>
  
  <p>Agora eu fui tentar passar uma model e esta esta recebendo nulo novamente alguma ideia do que pode ser?
  I step up data: {testea: testea}, the error and if I step data: testea, everything comes null in my JsonResult</p>
  
  <p>My model:</p>
  
  <pre><code>public class Teste
  {
      public int idteste { get; set; }
      public string name { get; set; }
      public int age { get; set; }
      public string birthday { get; set; }
      public string salary { get; set; }
  
  }
  </code></pre>