When you request an ajax call to retrieve data or information, you pass the URL to this page. But in the case of MVC, the url becomes the controller / function _name. Therefore, in the ajax call url, this should be the name of the controller / function _name. And since this kind of request is handled by MVC, you do not need to worry about it.
source
share