I want to make a RedirectToAction after the user clicks a button. Before I redirect, I store the information into a variable. At the end, after I have redirected to action, I want to show some useful information. I tried this:
ViewBag.message = "User with ID = " + id + " was changed status to verified.";
But the data will be flushed after redirection. Is there any other way to achieve this?