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

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer