Exemplo n.º 1
0
 /// <summary>
 /// Create benefit category
 /// </summary>
 /// <remarks>
 /// Creates a new benefit category
 /// </remarks>
 public Task <UkBenefitCategoryReadModel> CreateBenefitCategoryAsync(int businessId, UkBenefitCategoryEditModel model, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <UkBenefitCategoryReadModel, UkBenefitCategoryEditModel>($"/business/{businessId}/benefitcategory", model, Method.POST, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create benefit category
 /// </summary>
 /// <remarks>
 /// Creates a new benefit category
 /// </remarks>
 public UkBenefitCategoryReadModel CreateBenefitCategory(int businessId, UkBenefitCategoryEditModel model)
 {
     return(ApiRequest <UkBenefitCategoryReadModel, UkBenefitCategoryEditModel>($"/business/{businessId}/benefitcategory", model, Method.POST));
 }