UserManager 包含在ASP.NET Core Identity 里。你可以用它在 Index action 里查找当前用户: public async Task<IActionResult> Index() { var currentUser = await ...
確定! 回上一頁