Пример #1
0
 public UsersController(UserManager <ApplicationUser> userManager, ILogger <UsersController> logger, IConfiguration configuration)
 {
     // acquire user manager via dependency injection
     _userManager  = userManager;
     _logger       = logger;
     _identityInit = new UserInitVariables();
     _identityInit.InitializeFromConfig(configuration);
 }