Is there a way to change the control of an Action and pass it to another Action without changing the URL?
public virtual ActionResult Mobile(bool redirectToPc = false)
{
if (redirectToPc)
return RedirectToAction("Home", "PC");
return View();
}
I want to stay in the URL www.company.com/Mobile even if I am redirected to Action PC.