protected override void Dispose(bool disposing) { if (disposing && _userManager != null) { _userManager.Dispose(); _userManager = null; } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (_userManager != null) { _userManager.Dispose(); _userManager = null; } if (_signInManager != null) { _signInManager.Dispose(); _signInManager = null; } } base.Dispose(disposing); }
public UserProfileController(SurveyUserManager userManager, SignInManager signInManager) { _userManager = userManager; _signInManager = signInManager; }
public UsersController(SurveyUserManager userManager, SurveyRoleManager roleManager) { _userManager = userManager; _roleManager = roleManager; }
public RegistrationController(SurveyUserManager userManager) { _userManager = userManager; }
public AccountController(SurveyUserManager userManager, SignInManager signInManager) { _userManager = userManager; _signInManager = signInManager; }