Show / Hide Table of Contents

Interface IReportService

Regulation report service

Inherited Members
ICrudService<IReport, RegulationServiceContext, Query>.UpdateAsync<T>(RegulationServiceContext, T)
ICreateService<IReport, RegulationServiceContext, Query>.CreateAsync<T>(RegulationServiceContext, T)
ICreateService<IReport, RegulationServiceContext, Query>.DeleteAsync(RegulationServiceContext, int)
IReadService<IReport, RegulationServiceContext, Query>.QueryAsync<T>(RegulationServiceContext, Query)
IReadService<IReport, RegulationServiceContext, Query>.QueryCountAsync(RegulationServiceContext, Query)
IReadService<IReport, RegulationServiceContext, Query>.QueryResultAsync<T>(RegulationServiceContext, Query)
IReadService<IReport, RegulationServiceContext, Query>.GetAsync<T>(RegulationServiceContext, int)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IReportService : ICrudService<IReport, RegulationServiceContext, Query>, ICreateService<IReport, RegulationServiceContext, Query>, IReadService<IReport, RegulationServiceContext, Query>

Methods

ExecuteReportAsync(RegulationServiceContext, int, ReportRequest)

Execute a report

Declaration
Task<ReportResponse> ExecuteReportAsync(RegulationServiceContext context, int reportId, ReportRequest request)
Parameters
Type Name Description
RegulationServiceContext context

The service context

int reportId

The id of the report

ReportRequest request

The report execute request

Returns
Type Description
Task<ReportResponse>

The report response including the report data

GetAsync<T>(RegulationServiceContext, string)

Get report by name

Declaration
Task<T> GetAsync<T>(RegulationServiceContext context, string name) where T : class, IReport
Parameters
Type Name Description
RegulationServiceContext context

The service context

string name

The payroll name

Returns
Type Description
Task<T>

The payroll, null if missing

Type Parameters
Name Description
T

RebuildAsync(RegulationServiceContext, int)

Rebuild the report

Declaration
Task RebuildAsync(RegulationServiceContext context, int reportId)
Parameters
Type Name Description
RegulationServiceContext context

The service context

int reportId

The report id

Returns
Type Description
Task

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX