Table of Contents

Interface IGraphQlProjekteClient

Namespace
BpNexT.NET.GraphQL.Vorgang
Assembly
BpNexT.NET.Contracts.GraphQL.dll

Contract for project archive GraphQL functions.

[Obsolete("Use projekt.MoveToArchiv() / projektArchiv.MoveFromArchiv() on the entity.")]
public interface IGraphQlProjekteClient

Methods

MoveToArchive(string)

Moves a project to archive.

string? MoveToArchive(string projektNr)

Parameters

projektNr string

Returns

string

MoveToArchiveAsync(string, CancellationToken)

Moves a project to archive.

Task<string?> MoveToArchiveAsync(string projektNr, CancellationToken cancellationToken = default)

Parameters

projektNr string
cancellationToken CancellationToken

Returns

Task<string>

RestoreFromArchive(string, bool)

Restores a project from archive.

string? RestoreFromArchive(string projektNr, bool allowOverwrite = false)

Parameters

projektNr string
allowOverwrite bool

Returns

string

RestoreFromArchiveAsync(string, bool, CancellationToken)

Restores a project from archive.

Task<string?> RestoreFromArchiveAsync(string projektNr, bool allowOverwrite = false, CancellationToken cancellationToken = default)

Parameters

projektNr string
allowOverwrite bool
cancellationToken CancellationToken

Returns

Task<string>