AppService.Trash Method

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

Overloads

Trash(Int32, Boolean) Sends an app (and its contents) to the trash.
Trash(Int32) Sends an app (and its contents) to the trash.

Trash(Int32, Boolean)

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

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

Parameters

id
System.Int32
auth
System.Boolean

Returns

App

The trashed app.

Trash(Int32)

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

public static T Trash(int id)
    where T : App, ITrashable

Parameters

id
System.Int32

Returns

App

The trashed app.