public Task <ApplySiteDesignResponse> ApplyAsync(ApplySiteDesignRequest siteDesign, CancellationToken cancellationToken) { this.AppendSegmentToRequestUrl("Microsoft.Sharepoint.Utilities.WebTemplateExtensions.SiteScriptUtility.ApplySiteDesign"); this.ContentType = "application/json"; return(this.SendAsync <ApplySiteDesignResponse>(siteDesign, cancellationToken)); }
public Task <ApplySiteDesignResponse> ApplyAsync(ApplySiteDesignRequest site) { return(this.ApplyAsync(site, CancellationToken.None)); }