RoleService.Delete Method

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

Delete(Int32, Boolean)

Permanently deletes a Role object from the repository.

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

Parameters

id
System.Int32
auth
System.Boolean

Returns

Role

The deleted role.