RoleService.Delete Method

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

Delete(int, bool)

Permanently deletes a Role object from the repository.

public static Role Delete(int id, bool auth = true)

Parameters

id
int

Id of the role to delete.

auth
bool

Returns

Role

The deleted role.