Show / Hide Table of Contents

Interface IWageTypeService

Payroll wage type service

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

Methods

GetAsync<T>(RegulationServiceContext, decimal, CultureInfo)

Get wage type by number

Declaration
Task<T> GetAsync<T>(RegulationServiceContext context, decimal wageTypeNumber, CultureInfo culture) where T : class, IWageType
Parameters
Type Name Description
RegulationServiceContext context

The service context

decimal wageTypeNumber

The wage type number

CultureInfo culture

The wage type number culture

Returns
Type Description
Task<T>

The wage type, null if missing

Type Parameters
Name Description
T

GetAsync<T>(RegulationServiceContext, string)

Get wage type by name

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

The service context

string name

The wage type name

Returns
Type Description
Task<T>

The wage type, null if missing

Type Parameters
Name Description
T

RebuildAsync(RegulationServiceContext, int)

Rebuild the wge type

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

The service context

int wageTypeId

The wage type 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