Class ProductCategoryService

Class ProductCategoryService#

Inheritance Relationships#

Base Type#

Class Documentation#

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

Public Functions

ProductCategoryService ()#
Task<List<ProductCategory>> FindAll (Dictionary<string, string> query = null)#

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

Task<ProductCategory> Create (ProductCategory obj)#

Create a new category.

Task<ProductCategory> FindById (string id)#

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

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

Updates a single category.

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

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

Deletes all Entities from the service.

Return:

Task