have 2 ASP.NET projects. One is an e-comerce with a user login section. The other is the user-administration section with the info of the user. I need to connect them so when I log into my first project it sends me to the second project home section calling to the controller.
I already tried adding as reference and using RedirectToRoute, but the issue is it gets me to the right controller and action but the localhost is form the first project
This is the code for my button in the controller:
public IActionResult Redireccionar()
{
return RedirectToRoute(new { controller = "Propiedades", action = "Propiedades" });
}
Is there any way to specify the localhost?