/// <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)); }
/// <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)); }