Class PayrollLayerService
Inheritance
PayrollLayerService
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class PayrollLayerService : ServiceBase, IPayrollLayerService, ICrudService<IPayrollLayer, PayrollServiceContext, Query>, ICreateService<IPayrollLayer, PayrollServiceContext, Query>, IReadService<IPayrollLayer, PayrollServiceContext, Query>, IAttributeService<PayrollServiceContext>
Constructors
PayrollLayerService(PayrollHttpClient)
Declaration
public PayrollLayerService(PayrollHttpClient httpClient)
Parameters
Methods
CreateAsync<T>(PayrollServiceContext, T)
Declaration
public virtual Task<T> CreateAsync<T>(PayrollServiceContext context, T payrollLayer) where T : class, IPayrollLayer
Parameters
Returns
Type Parameters
DeleteAsync(PayrollServiceContext, int)
Declaration
public virtual Task DeleteAsync(PayrollServiceContext context, int payrollLayerId)
Parameters
Returns
DeleteAttributeAsync(PayrollServiceContext, int, string)
Declaration
public virtual Task DeleteAttributeAsync(PayrollServiceContext context, int payrollLayerId, string attributeName)
Parameters
Returns
GetAsync<T>(PayrollServiceContext, int)
Declaration
public virtual Task<T> GetAsync<T>(PayrollServiceContext context, int payrollLayerId) where T : class, IPayrollLayer
Parameters
Returns
Type Parameters
GetAsync<T>(PayrollServiceContext, string)
Declaration
public virtual Task<T> GetAsync<T>(PayrollServiceContext context, string identifier) where T : class, IPayrollLayer
Parameters
Returns
Type Parameters
GetAttributeAsync(PayrollServiceContext, int, string)
Declaration
public virtual Task<string> GetAttributeAsync(PayrollServiceContext context, int payrollLayerId, string attributeName)
Parameters
Returns
QueryAsync<T>(PayrollServiceContext, Query)
Declaration
public virtual Task<List<T>> QueryAsync<T>(PayrollServiceContext context, Query query = null) where T : class, IPayrollLayer
Parameters
Returns
Type Parameters
QueryCountAsync(PayrollServiceContext, Query)
Declaration
public virtual Task<long> QueryCountAsync(PayrollServiceContext context, Query query = null)
Parameters
Returns
QueryResultAsync<T>(PayrollServiceContext, Query)
Declaration
public virtual Task<QueryResult<T>> QueryResultAsync<T>(PayrollServiceContext context, Query query = null) where T : class, IPayrollLayer
Parameters
Returns
Type Parameters
SetAttributeAsync(PayrollServiceContext, int, string, string)
Declaration
public virtual Task SetAttributeAsync(PayrollServiceContext context, int payrollLayerId, string attributeName, string attributeValue)
Parameters
Returns
UpdateAsync<T>(PayrollServiceContext, T)
Declaration
public virtual Task UpdateAsync<T>(PayrollServiceContext context, T payrollLayer) where T : class, IPayrollLayer
Parameters
Returns
Type Parameters
Implements
Extension Methods