I have a controller ValidationController
and it has a method called EmailExist
I have an ajax call
$.ajax({
type: "POST",
url: "/Validation/EmailExist",
data: { 'Email': $('#Email').val() },
success: function (result) {
if (result == true) {
alert("true");
} else {
alert("false");
}
},
error: function (error) {
alert(error.responseText);
}
I get a 404 error and I have no clue why? Any suggestions or suggestions on how to debug this?