Пример #1
0
 public PermissionCacheService(BaseIdentityDbContext context, IMemoryCache memoryCache, UserManager <BaseIdentityUser> userManager, RoleManager <BaseIdentityRole> roleManager)
 {
     _context     = context;
     _memoryCache = memoryCache;
     _userManager = userManager;
     _roleManager = roleManager;
 }