Class RoleService#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Services.RoleService : xbe.sdk.ServiceBase#

Public Functions

RoleService ()#
Task<List<Role>> FindAll (Dictionary<string, string> query = null)#

Returns all groups from the system that the user has access to.

Task<Role> Create (Role obj)#

Create a new group.

Task Truncate ()#

Deletes all roles from the service.

async Task<bool> Exists (string id)#

Determines if a role with the given unique identifier already exists.

Task<Role> FindById (string id)#

Returns a single group from the system that the user has access to.

Task<Role> Update (string id, Role obj)#

Updates a single group.

Task<long?> Count (Dictionary<string, string> query = null)#

Retrieves the Entities Count based on the given criteria.

Return:

Entity Count

Task Delete (string id)#

Deletes an instance of T with the specified unique identifier.

Return:

Task