c# redirecttoaction pass through single value code example Example: asp.net core redirecttoaction with parameters RedirectToAction("Action", "Controller" ,new { id });