1
I have a little code that works on _Layout:
$.ajax({
type: "POST",
url: "@Url.Action("Action", "Controller")",
success: function () {
//Seu código aqui ...
}
});
So far, so good, only _Layout is getting really big. so I want to add a file javascript and add her into _Layout.
Only the problem is javascript file. It does not recognize '@'.
How can I fix this?
The library Razorjs is reliable ? Because it’s been 6 years without update.
– Matheus Miranda
There is no way to know, I never used. But it is very likely that it meets the most basic cases, as this of your publication.
– Jéf Bueno