Is it possible in any other way to perform another action in another controller from the filter of actions, actions, or in any other way without physical redirection.
The reason for this is that I have a dynamic paging system where the user will load the URL, for example,
/1/some-page-title
This URL is mapped to the Home controller and the Element action, this action then loads the row from the database, where the element identifier is "1". Depending on the data about an element from the database, the page will be displayed as a contact form, image gallery, etc. Now I could display the paths this way
/Page/1/some-title/ will render a normal html page, /Contact/1/some-title/ will render a contact form /Gallery/1/some-title/ will render a gallery
But I would prefer the paths to be simple.
Androme
source share