using Microsoft.AspNetCore.Identity;. The UserManager class is part of ASP.NET Core Identity. You can use it to get the current user in the Index action:
確定! 回上一頁