Class PromoCodeService#
Defined in File PromoCodeService.cs
Inheritance Relationships#
Base Type#
public xbe.sdk.ServiceBase(Class ServiceBase)
Class Documentation#
- class xbe.sdk.Services.PromoCodeService : xbe.sdk.ServiceBase#
Public Functions
- PromoCodeService ()#
- Task<List<PromoCode>> FindAll (Dictionary<string, string> query = null)#
Returns all codes from the system that the user has access to.
- Task<PromoCode> FindById (string id)#
Returns a single code from the system that the user has access to.
- 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