/// <summary> /// Updates the specified ApplicationTemplate using PATCH. /// </summary> /// <param name="applicationTemplateToUpdate">The ApplicationTemplate to update.</param> /// <returns>The updated ApplicationTemplate.</returns> public System.Threading.Tasks.Task <ApplicationTemplate> UpdateAsync(ApplicationTemplate applicationTemplateToUpdate) { return(this.UpdateAsync(applicationTemplateToUpdate, CancellationToken.None)); }
/// <summary> /// Adds the specified ApplicationTemplate to the collection via POST. /// </summary> /// <param name="applicationTemplate">The ApplicationTemplate to add.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param> /// <returns>The created ApplicationTemplate.</returns> public System.Threading.Tasks.Task <ApplicationTemplate> AddAsync(ApplicationTemplate applicationTemplate, CancellationToken cancellationToken) { this.ContentType = "application/json"; this.Method = "POST"; return(this.SendAsync <ApplicationTemplate>(applicationTemplate, cancellationToken)); }