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