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();
}
enter image description here>


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -