I was trying to redirect from the Account controller (Account/Login) to User/Index by doing below syntax.
return RedirectToAction("Index", "User");
it shows up the correct view but the URL still persist as Account/Login. Can anyone suggest how can i achieve the same. I have tried some of the searches from google but none of them works for me.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…