Question : redirect to another controller page in asp.net core
Answered by : manohar-shrestha
public RedirectToActionResult Index()
{
return RedirectToAction(actionName: "Index", controllerName: "Author");
}
Source : https://www.infoworld.com/article/3570787/how-to-redirect-a-request-in-aspnet-core-mvc.html | Last Update : Wed, 26 Jan 22
Question : RedirectToAction net core 3.1 with area
Answered by : vivacious-vendace-1cmdqy5a9eri
return RedirectToAction("action name", "controller name", new { area = "area name" });
Source : https://www.thetopsites.net/article/53276704.shtml | Last Update : Tue, 21 Jul 20
Question : asp.net core mvc redirecttoaction area
Answered by : nicholas-boyk
return RedirectToAction("action", "controller", new { area = "area" });
Source : https://stackoverflow.com/questions/1391887/redirecttoaction-between-areas | Last Update : Tue, 29 Jun 21
Question : asp.net core redirect action
Answered by : different-dugong-eb1zyo1fd9yv
return RedirectToAction(nameof(Action),"Controller",new { id });
Source : | Last Update : Wed, 14 Dec 22