Saturday, October 15, 2016

Use Html.Action to render a partial while also running its Action.

@Html.Action("Foo", "Bar", new {bar="Qux"})

 
 

...is gonna run this action in the BarController:

public ActionResult Foo(string baz)
{

No comments:

Post a Comment