I would like to know if it is possible for me to pass a "Model" object via ajax to my controller.
$.ajax({
type: "POST",
url: "@Url.Action("CadastrarSementesVariedades", "SementesLevantamentoVariedades")",
data: model,
dataType: "html"
});
I did it this way but it did not work, would I have another way?