Add GetCreatorByAlias and CreatorAlias to User
This commit is contained in:
@@ -63,7 +63,7 @@ public partial class Testing
|
||||
{
|
||||
using var scope = _scopeFactory.CreateScope();
|
||||
|
||||
var userManager = scope.ServiceProvider.GetRequiredService<UserManager<ApplicationUser>>();
|
||||
var userManager = scope.ServiceProvider.GetRequiredService<ApplicationUserManager>();
|
||||
|
||||
var user = new ApplicationUser { UserName = userName, Email = userName };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user