public ClaimCreateHandler(ConfigurationDbContext configurationDbContext)
        {
            _configurationDbContext = configurationDbContext;

            var appSettings = new AppSettings();

            DataAccessConstants = appSettings.DataAccessConstants;
        }
示例#2
0
        public RoleCreateHandler(RoleManager <IdentityRole> roleManager, IMediator mediator)
        {
            _roleManager = roleManager;
            _mediator    = mediator;

            var appSettings = new AppSettings();

            DataAccessConstants = appSettings.DataAccessConstants;
        }
示例#3
0
        public RemoveRoleHandler(
            UserManager <ApplicationUser> userManager,
            RoleManager <IdentityRole> roleManager,
            IMediator mediator)
        {
            _userManager = userManager;
            _roleManager = roleManager;
            _mediator    = mediator;

            var appSettings = new AppSettings();

            DataAccessConstants = appSettings.DataAccessConstants;
        }