Beispiel #1
0
        public UsersController(HMSUserManager userManager, HMSSignInManager signInManager, HMSRoleManager roleManager)

        {
            UserManager = userManager;

            SignInManager = signInManager;

            RoleManager = roleManager;
        }
Beispiel #2
0
        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 AccountController(HMSUserManager userManager, HMSSignInManager signInManager)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
 }
 public RolesController(HMSUserManager userManager, UsersSignInManager signInManager, HmsRoleManeger roleManager)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
     RoleManager   = roleManager;
 }
Beispiel #6
0
 public RolesController(HMSUserManager userManager, HMSSignInManager signInManager)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
 }
Beispiel #7
0
 public ManageController(HMSUserManager userManager, UsersSignInManager signInManager)
 {
     UserManager   = userManager;
     SignInManager = signInManager;
 }