public PermissionCacheService(BaseIdentityDbContext context, IMemoryCache memoryCache, UserManager <BaseIdentityUser> userManager, RoleManager <BaseIdentityRole> roleManager) { _context = context; _memoryCache = memoryCache; _userManager = userManager; _roleManager = roleManager; }