The ControllerActionInvoker work with MVC controller to select an action. Is there something equivalent to choose a Razor Page between two pages?
I have two Razor Pages RazorPage1.cshtml and RazorPage2.cshtml. I want to use a logic to load either RazorPage1 or RazorPage2.