AppService.Trash Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

Trash(int, bool) Sends an app (and its contents) to the trash.
Trash(int) Sends an app (and its contents) to the trash.

Trash(int, bool)

Sends an app (and its contents) to the trash.

public static App Trash(int id, bool auth = true)

Parameters

id
int

Id of the app to trash.

auth
bool

Returns

App

The trashed app.

Trash(int)

Sends an app (and its contents) to the trash.

public static T Trash<T>(int id)

    where T : App, ITrashable

Parameters

id
int

Id of the app to trash.

Returns

The trashed app.