IBenefitApiAddBenefit Method |
Adds a new benefit to given employee.
Namespace: AMG.APIAssembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax int AddBenefit(
int employeeId,
Benefit benefit
)
Function AddBenefit (
employeeId As Integer,
benefit As Benefit
) As Integer
int AddBenefit(
int employeeId,
Benefit^ benefit
)
abstract AddBenefit :
employeeId : int *
benefit : Benefit -> int
Parameters
- employeeId
- Type: SystemInt32
The employee ID. - benefit
- Type: AMG.API.DefinitionsBenefit
The benefit to add.
Return Value
Type:
Int32Returns newly inserted benefit's ID.
See Also