Url.Action with routevalues and objects

Asked

Viewed 306 times

1

I have the following Url.Action:

@Url.Action("ActionName", "ControllerName", new { area = "AreaName" })

I also need to send some objects to this action through this Url.Action, how could I do that?

1 answer

1


It worked by sending with the router, it was like this:

@Url.Action("ActionName", "ControllerName", new { area = "AreaName", parametroName = "parametroValue" })

Browser other questions tagged

You are not signed in. Login or sign up in order to post.