Class PayrollServiceContext
Payroll service context
Implements
Inherited Members
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class PayrollServiceContext : TenantServiceContext, IServiceContext
Constructors
PayrollServiceContext(ITenant, IPayroll)
Initializes a new instance of the PayrollServiceContext class
Declaration
public PayrollServiceContext(ITenant tenant, IPayroll payroll)
Parameters
| Type | Name | Description |
|---|---|---|
| ITenant | tenant | The tenant |
| IPayroll | payroll | The payroll |
PayrollServiceContext(int, int)
Initializes a new instance of the PayrollServiceContext class
Declaration
public PayrollServiceContext(int tenantId, int payrollId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| int | payrollId | The payroll id |
Properties
PayrollId
The payroll id
Declaration
public int PayrollId { get; }
Property Value
| Type | Description |
|---|---|
| int |