I have a following route specified. This route and all others point to an intermediate action that in turn then redirects to the redirectUrl. I need help with using Url.Action inside my area registration file, can’t seem to find any reference to assembly that i need to include inside the area registration.
context.MapRoute(
"OPHR", // Route name
"OPHR/{purl}", // URL with parameters
new
{
controller = ControllerNames.Home,
action = ActionNames.PageRedirector,
Area = AreaNames.Redirector,
groupId = "TS0809R",
redirectUrl = "/" + AreaNames.Mailings + "/" + ControllerNames.Editions + "/" + ActionNames.Reach,
campaignId = "TS0809R"
},
new string[] { "Company.Site.Areas.Redirector.Controllers" }
);
Thanks