Redirect to page not found if url does not exist in mVC

I need to redirect the user to a page not found if url link exists. if the user copies the URL and pastes it into rbowser, the page shows the method not found.

in this I need to redirect the user to a page not found on the page

+3
source share

Source: https://habr.com/ru/post/1720872/


All Articles