Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionResult Sample1()
- {
- TempData["Test"] = "Test1"
- return RedirectToAction("Sample2");
- }
- public ActionResult Sample2()
- {
- var test= TempData["Test"] as string
- return View( test);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement