2017-09-15 103 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"); 
相關問題