2017-09-15 44 views
-3

Hie guyz。如何将我的.cshtml连接到登录...我希望网站打开该cshtml页面,如果用户已成功登录,我在c#中使用MVC。我不希望它登录并返回到主页页面....用户使用MVC成功登录后连接.cshtml页面

+0

我明白了什么^^” – GGO

+0

https://stackoverflow.com/help/how-to-ask – adiga

+0

你的问题不清楚。请参阅并了解如何提出问题:https://stackoverflow.com/help/how-to-ask –

回答

1

可以用户这redireact的.cshtml

return RedirectToAction("Action", "Controller"); 
相关问题