Esempio n. 1
0
 /// <summary>
 /// Set standard hours for employee
 /// </summary>
 /// <remarks>
 /// Sets the standard hours for this employee.
 /// </remarks>
 public Task <StandardHoursModel> SetStandardHoursForEmployeeAsync(int businessId, int employeeId, StandardHoursModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <StandardHoursModel, StandardHoursModel>($"/business/{businessId}/employee/{employeeId}/standardhours", model, Method.PUT, cancellationToken));
 }
Esempio n. 2
0
 /// <summary>
 /// Set standard hours for employee
 /// </summary>
 /// <remarks>
 /// Sets the standard hours for this employee.
 /// </remarks>
 public StandardHoursModel SetStandardHoursForEmployee(int businessId, int employeeId, StandardHoursModel model)
 {
     return(ApiRequest <StandardHoursModel, StandardHoursModel>($"/business/{businessId}/employee/{employeeId}/standardhours", model, Method.PUT));
 }