Interface IGlobalCaseChangeService
Payroll global case change service
Inherited Members
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IGlobalCaseChangeService : IReadService<ICaseChange, TenantServiceContext, CaseChangeQuery>
Methods
GetAsync<T>(TenantServiceContext, CaseChangeQuery)
Get global case change by division
Declaration
Task<List<T>> GetAsync<T>(TenantServiceContext context, CaseChangeQuery query = null) where T : class, ICaseChange
Parameters
| Type | Name | Description |
|---|---|---|
| TenantServiceContext | context | The service context |
| CaseChangeQuery | query | The case change query |
Returns
| Type | Description |
|---|---|
| Task<List<T>> | The new case change |
Type Parameters
| Name | Description |
|---|---|
| T |
QueryValuesAsync<T>(TenantServiceContext, CaseChangeQuery)
Query objects
Declaration
Task<List<T>> QueryValuesAsync<T>(TenantServiceContext context, CaseChangeQuery query = null) where T : class, ICaseChangeCaseValue
Parameters
| Type | Name | Description |
|---|---|---|
| TenantServiceContext | context | The service context |
| CaseChangeQuery | query | The query |
Returns
| Type | Description |
|---|---|
| Task<List<T>> | List of objects |
Type Parameters
| Name | Description |
|---|---|
| T |
QueryValuesCountAsync(TenantServiceContext, CaseChangeQuery)
Query count of objects
Declaration
Task<long> QueryValuesCountAsync(TenantServiceContext context, CaseChangeQuery query = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TenantServiceContext | context | The service context |
| CaseChangeQuery | query | The query |
Returns
| Type | Description |
|---|---|
| Task<long> | Count of objects |
QueryValuesResultAsync<T>(TenantServiceContext, CaseChangeQuery)
Query items and count of objects
Declaration
Task<QueryResult<T>> QueryValuesResultAsync<T>(TenantServiceContext context, CaseChangeQuery query = null) where T : class, ICaseChangeCaseValue
Parameters
| Type | Name | Description |
|---|---|---|
| TenantServiceContext | context | The service context |
| CaseChangeQuery | query | The query |
Returns
| Type | Description |
|---|---|
| Task<QueryResult<T>> | List and count of objects |
Type Parameters
| Name | Description |
|---|---|
| T |