public async Task <IActionResult> GetClaimActors([FromRoute] int claimId, [FromRoute] int entityId) { var claim = _claimCoreController.Get(claimId); if (claim.ClaimScope == ClaimScope.Global) { entityId = Platform.AllId; } if ((await _authorizationService.AuthorizeAsync(User, entityId, HttpContext.ScopeItems(claim.ClaimScope))).Succeeded) { var actors = _actorClaimCoreController.GetClaimActors(claimId, entityId); var actorContract = actors.ToActorContractList(); return(new ObjectResult(actorContract)); } return(Forbid()); }