how to pass parameter to redirecttoaction in mvc code example Example: asp.net core redirecttoaction with parameters RedirectToAction("Action", "Controller" ,new { id });