0

I need to be able to pass an ID to my Kooboo module.
I was hoping to add {id} to the page route and then somehow pass it to the module put I can't seem to find how. I want the Querystring variable to be passed into the MVC Controller action.

Any Suggestions?

Jimmy Engtröm
  • 1,998
  • 4
  • 23
  • 34

1 Answers1

0

Managed to figure it out

Add a route to a controller in Module.Config

Use
@Url.ModuleUrl().Action("ActionName")
or
@Url.ModuleUrl().Action("ActionName", new { parameterName = 0 })"
To get an url to another action/controller within you module

Jimmy Engtröm
  • 1,998
  • 4
  • 23
  • 34