Question

I have a controller action which I would like to call another controller action.

Is this a valid thing to do. Is it possible?

Was it helpful?

Solution

Controller.RedirectToAction

OTHER TIPS

As @Justice says you can use RedirectToAction. Also, you can use TempData to pass model (and other) data between controller actions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top