Example #1
0
 /// <summary>
 /// Create Note for Employee
 /// </summary>
 /// <remarks>
 /// Creates a note for an employee record in a pay run.
 /// </remarks>
 public Task <PayRunTotalNotationModel> CreateNoteForEmployeeAsync(int businessId, int employeeId, int payRunId, PayRunTotalNotationModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <PayRunTotalNotationModel, PayRunTotalNotationModel>($"/business/{businessId}/payrun/{payRunId}/notation/{employeeId}", model, Method.POST, cancellationToken));
 }
Example #2
0
 /// <summary>
 /// Create Note for Employee
 /// </summary>
 /// <remarks>
 /// Creates a note for an employee record in a pay run.
 /// </remarks>
 public PayRunTotalNotationModel CreateNoteForEmployee(int businessId, int employeeId, int payRunId, PayRunTotalNotationModel model)
 {
     return(ApiRequest <PayRunTotalNotationModel, PayRunTotalNotationModel>($"/business/{businessId}/payrun/{payRunId}/notation/{employeeId}", model, Method.POST));
 }