redirecttoactionresult .net core code example
Example 1: asp.net core redirecttoaction with parameters
RedirectToAction("Action", "Controller" ,new { id });
Example 2: RedirectToAction net core 3.1 with area
return RedirectToAction("action name", "controller name", new { area = "area name" });