Using ASP.Net MVC, I go to action (where I add the email address to the database table, etc.)
I need to redirect back to the referrer url, but also need to add something to the referrer url query string. This action can be called from many places, so I cannot redirect the action to the current controller.
How to redirect the referrer and add something to the query string (bearing in mind that the referrer may already have query string values that I need to save).
[HttpPost] public ActionResult MyAction(MyModel model) {
Thanks!
source share