Esempio n. 1
0
 /// <summary>
 /// Adds the specified PermissionGrantConditionSet to the collection via POST.
 /// </summary>
 /// <param name="permissionGrantConditionSet">The PermissionGrantConditionSet to add.</param>
 /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
 /// <returns>The created PermissionGrantConditionSet.</returns>
 public System.Threading.Tasks.Task <PermissionGrantConditionSet> AddAsync(PermissionGrantConditionSet permissionGrantConditionSet, CancellationToken cancellationToken)
 {
     this.ContentType = "application/json";
     this.Method      = "POST";
     return(this.SendAsync <PermissionGrantConditionSet>(permissionGrantConditionSet, cancellationToken));
 }
Esempio n. 2
0
 /// <summary>
 /// Adds the specified PermissionGrantConditionSet to the collection via POST.
 /// </summary>
 /// <param name="permissionGrantConditionSet">The PermissionGrantConditionSet to add.</param>
 /// <returns>The created PermissionGrantConditionSet.</returns>
 public System.Threading.Tasks.Task <PermissionGrantConditionSet> AddAsync(PermissionGrantConditionSet permissionGrantConditionSet)
 {
     return(this.AddAsync(permissionGrantConditionSet, CancellationToken.None));
 }