コード例 #1
0
    /// <inheritdoc />
    public async Task <ProjectRoleModel> GetProjectRoleAsync(Reference identifier)
    {
        if (identifier == null)
        {
            throw new ArgumentNullException(nameof(identifier));
        }

        var endpointUrl = _urlBuilder.BuildProjectRoleUrl(identifier);

        return(await _actionInvoker.InvokeReadOnlyMethodAsync <ProjectRoleModel>(endpointUrl, HttpMethod.Get));
    }