Example #1
0
 /// <summary>
 /// Create employee benefit
 /// </summary>
 /// <remarks>
 /// Creates a new employee benefit
 /// </remarks>
 public Task <UkEmployeeBenefitCategoryModel> CreateEmployeeBenefitAsync(int businessId, int employeeId, UkEmployeeBenefitCategoryEditModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <UkEmployeeBenefitCategoryModel, UkEmployeeBenefitCategoryEditModel>($"/business/{businessId}/employee/{employeeId}/benefit", model, Method.POST, cancellationToken));
 }
Example #2
0
 /// <summary>
 /// Create employee benefit
 /// </summary>
 /// <remarks>
 /// Creates a new employee benefit
 /// </remarks>
 public UkEmployeeBenefitCategoryModel CreateEmployeeBenefit(int businessId, int employeeId, UkEmployeeBenefitCategoryEditModel model)
 {
     return(ApiRequest <UkEmployeeBenefitCategoryModel, UkEmployeeBenefitCategoryEditModel>($"/business/{businessId}/employee/{employeeId}/benefit", model, Method.POST));
 }