Linked Questions

Popular Questions

Returning to last ActionResult after HttpPost request

Asked by At

I am current working on a MVC C# application and have a HttpPost ActionResult which adds a new role to a user. I want to use this method throughout my application.

The problem I have is once this method has run I want it to return to the previous ActionResult and as I want to reuse this method I can not set the return view to a set view. Is there a way to set the return to the previous View?

Many Thanks

Andrew

Related Questions