asp.net mvc - Umbraco + mvc page redirect with data -
i want redirect other umbraco page model data.
currently redirecting other umbraco page not model data.
public actionresult cnoreplacement(masterviewmodel model) { viewbag.testdata = "testing viewbag data passing !!"; return redirecttoumbracopage(1098); }
even have tried passing viewmodel not working.
[httpget]
public actionresult aaa()
{
gamemodel model = new gamemodel() { id = 10 };
return redirecttoaction("bbb", "game", model);
}
public actionresult bbb(gamemodel model)
{
return view();
}
>
Comments
Post a Comment