If I have a controller in CatalogControllers called bespoke. It accepts the parameter of categoryid.
I have another controller called bespokecontroller, which has a view called bespoke. The view contains:
@Html.Action("bespoke", new { CategoryID = 8})
and the controller has:
public ActionResult Bespoke(int CategoryId)
{
return null;
}
What I want to do, is from the bespoke action result, call the bespoke action result from the catalogcontroller?
I've tried RedirectToAction("CatalogController", "Bespoke",CategoryId) but that throws an error. Anyone got any advice?