private List <Claim> GetClaims(int userId) { var user = GetUser(userId); var PermissionList = _profileAppService.GetPermissions(user.IdProfile); List <PermissionViewModel> permission = new List <PermissionViewModel>() { new PermissionViewModel() { ClaimType = "PROFILE", ClaimValue = user.Profile.Name } }; PermissionList.AddRange(permission); return(BindClaims(PermissionList)); }