Asp.net Mvc Redirecttoaction With Parameter Code Example


Example 1: redirecttoaction with parameters

return RedirectToAction("Action", new { id = 99 });

Example 2: asp.net core redirecttoaction with parameters

RedirectToAction("Action", "Controller" ,new { id });

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?