Jsonresult is failing with parameter in my Ajax Call. Why is it happening?
<p>That's my script on my view.
        </p>

<pre><code>    $(function () {
        $('#buttonx').on("click", function (e) {
            e.preventDefault();
            $.ajax({
                url: 'Ficha/VerificarPatrocinador',
                contentType: 'application/json; charset=utf-8',
                type: 'GET',
                dataType: 'json',
                data: {i: 100036},
                success: function (data) {
                    $(data).each(function (index, item) {
                        //$('#NomePatr').append(item.Nome)
                        $("#NomePatr").val(item.Nome);
                    });
                }
            });
        });
    });

&lt;/script&gt;
</code></pre>

<p>That's my action on my controller.</p>

<pre><code>    public JsonResult VerificarPatrocinador(int i)
    {
        var db = new FMDBEntities();
        db.Configuration.ProxyCreationEnabled = false;
        db.Configuration.LazyLoadingEnabled = false;

        var consulta = db.Tabela_Participante.Where(p =&gt; p.ID_Participante == i);
        return Json(consulta.
            Select(x =&gt; new
            {
                Nome = x.Nome
            }).ToList(), JsonRequestBehavior.AllowGet);
    }
</code></pre>

<p>I'm a newbie in Ajax/Jquery, when I exclude the parameter it is ok, however, when I try to put the data: {i: 100036} in my script and the parameter in my action. It doesn't work. Why is it happening?
The controller is going fine. The parameter even passes, <strong>but I can't return this result in my View.</strong>
Thank you.</p>