I'm loading the information from a SQL database and I have a stored procedure, so I need a method to load.
This is my controller
[HttpPost]
public IActionResult Verificar(string correoPropietario)
{
var verificarCorreo = _PropiedadesData.Verificar(correoPropietario);
return Json(verificarCorreo);
}
How can I get back from the AJAX?
This is my AJAX call:
<script>
$(function(){
var url = '/Propiedades/Verificar';
var correo = $('#correo')
var data = {correoPropietario: correo}
$.post(url,data).donde(function(data){})
})
</script>

have a look here in the exampleif that works for you?donde->donevar data = {correoPropietario: correo.val()}(depending on what #correo actually is as you've not provided it).