Esempio n. 1
0
 public RequiresAbsoluteRoleAnywhereAttributeImpl(ILogger <RequiresAbsoluteRoleAnywhereAttribute> logger,
                                                  PermissionRepository permissionRepo,
                                                  PermissionsAuthorizationRequirement requiredPermissions)
 {
     _logger              = logger;
     this.permissionRepo  = permissionRepo;
     _requiredPermissions = requiredPermissions;
 }
 public RequiresRoleAttributeImpl(PermissionRepository permissionRepo,
                                  PermissionsAuthorizationRequirement requiredPermissions)
 {
     this.permissionRepo  = permissionRepo;
     _requiredPermissions = requiredPermissions;
 }