Interface IReportSetService
Payroll payrun service
Inherited Members
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IReportSetService : ICreateService<IReportSet, RegulationServiceContext, Query>, IReadService<IReportSet, RegulationServiceContext, Query>
Methods
GetAsync<T>(RegulationServiceContext, int, ReportRequest)
Get report set by request
Declaration
Task<T> GetAsync<T>(RegulationServiceContext context, int reportId, ReportRequest reportRequest) where T : class, IReportSet
Parameters
| Type | Name | Description |
|---|---|---|
| RegulationServiceContext | context | The service context |
| int | reportId | The report id |
| ReportRequest | reportRequest | The report request |
Returns
| Type | Description |
|---|---|
| Task<T> | The report set |
Type Parameters
| Name | Description |
|---|---|
| T |
GetAsync<T>(RegulationServiceContext, string, ReportRequest)
Get report set by name
Declaration
Task<T> GetAsync<T>(RegulationServiceContext context, string name, ReportRequest reportRequest) where T : class, IReportSet
Parameters
| Type | Name | Description |
|---|---|---|
| RegulationServiceContext | context | The service context |
| string | name | The id of the report |
| ReportRequest | reportRequest | The report request |
Returns
| Type | Description |
|---|---|
| Task<T> | The report set |
Type Parameters
| Name | Description |
|---|---|
| T |