Url.Action with routevalues and objects

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 this?

    
asked by anonymous 02.09.2015 / 13:22

1 answer

1

It was right to send with the router, it looks like this:

@Url.Action("ActionName", "ControllerName", new { area = "AreaName", parametroName = "parametroValue" })
    
02.09.2015 / 14:25