Class EmployeeServiceContext
Employee service context
Inheritance
EmployeeServiceContext
Implements
Inherited Members
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class EmployeeServiceContext : TenantServiceContext, IServiceContext
Constructors
EmployeeServiceContext(ITenant, IEmployee)
Initializes a new instance of the EmployeeServiceContext class
Declaration
public EmployeeServiceContext(ITenant tenant, IEmployee employee)
Parameters
| Type | Name | Description |
|---|---|---|
| ITenant | tenant | The tenant |
| IEmployee | employee | The employee |
EmployeeServiceContext(int, int)
Initializes a new instance of the EmployeeServiceContext class
Declaration
public EmployeeServiceContext(int tenantId, int employeeId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
| int | employeeId | The employee id |
Properties
EmployeeId
The employee id
Declaration
public int EmployeeId { get; }
Property Value
| Type | Description |
|---|---|
| int |