RoleService.Trash Method

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

Trash(int)

Trashes a Role, i.e. sets the IsTrashed flag.

public static Role Trash(int id)

Parameters

id
int

Id of the role to trash.

Returns

Role

The trashed role.