/// <summary> /// Set Pension Scheme Dates /// </summary> /// <remarks> /// Save auto enrollment staging and re-enrolment dates for business /// </remarks> public Task <PensionSchemeStagingModel> SetPensionSchemeDatesAsync(int businessId, PensionSchemeStagingModel model, CancellationToken cancellationToken = default) { return(ApiRequestAsync <PensionSchemeStagingModel, PensionSchemeStagingModel>($"/business/{businessId}/pensionscheme/dates", model, Method.POST, cancellationToken)); }
/// <summary> /// Set Pension Scheme Dates /// </summary> /// <remarks> /// Save auto enrollment staging and re-enrolment dates for business /// </remarks> public PensionSchemeStagingModel SetPensionSchemeDates(int businessId, PensionSchemeStagingModel model) { return(ApiRequest <PensionSchemeStagingModel, PensionSchemeStagingModel>($"/business/{businessId}/pensionscheme/dates", model, Method.POST)); }