Class ResourceService#

Inheritance Relationships#

Base Type#

Class Documentation#

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

Public Functions

ResourceService ()#
Task<List<Resource>> FindAll (Dictionary<string, string> query = null)#

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

Task<Resource> Create (Resource obj)#

Create a new Resource.

async Task<List<Resource>> CreateMany (Resource[] objs)#

Creates multiple new Resources.

Task<Resource> FindById (string id)#

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

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

Updates a single Resource.

Task Truncate (Dictionary<string, string> query = null)#

Removes all roles from the data store.

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

Returns the count of resources.

Task Delete (string id)#

Returns the resource.