Beispiel #1
0
 /// <summary>
 /// Create Pension Scheme
 /// </summary>
 /// <remarks>
 /// Create Pension Scheme for business
 /// </remarks>
 public Task <PensionSchemeApiModel> CreatePensionSchemeAsync(int businessId, PensionSchemeApiModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <PensionSchemeApiModel, PensionSchemeApiModel>($"/business/{businessId}/pensionscheme", model, Method.POST, cancellationToken));
 }
Beispiel #2
0
 /// <summary>
 /// Update Pension Scheme
 /// </summary>
 /// <remarks>
 /// Update Pension Scheme for business
 /// </remarks>
 public PensionSchemeApiModel UpdatePensionScheme(int businessId, int id, PensionSchemeApiModel model)
 {
     return(ApiRequest <PensionSchemeApiModel, PensionSchemeApiModel>($"/business/{businessId}/pensionscheme/{id}", model, Method.PUT));
 }
Beispiel #3
0
 /// <summary>
 /// Create Pension Scheme
 /// </summary>
 /// <remarks>
 /// Create Pension Scheme for business
 /// </remarks>
 public PensionSchemeApiModel CreatePensionScheme(int businessId, PensionSchemeApiModel model)
 {
     return(ApiRequest <PensionSchemeApiModel, PensionSchemeApiModel>($"/business/{businessId}/pensionscheme", model, Method.POST));
 }