/// <summary> /// Adds the specified Microsoft.Graph.CallRecords.CallRecord to the collection via POST. /// </summary> /// <param name="callRecord">The Microsoft.Graph.CallRecords.CallRecord to add.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param> /// <returns>The created Microsoft.Graph.CallRecords.CallRecord.</returns> public System.Threading.Tasks.Task <Microsoft.Graph.CallRecords.CallRecord> AddAsync(Microsoft.Graph.CallRecords.CallRecord callRecord, CancellationToken cancellationToken) { this.ContentType = "application/json"; this.Method = "POST"; return(this.SendAsync <Microsoft.Graph.CallRecords.CallRecord>(callRecord, cancellationToken)); }
/// <summary> /// Adds the specified Microsoft.Graph.CallRecords.CallRecord to the collection via POST. /// </summary> /// <param name="callRecord">The Microsoft.Graph.CallRecords.CallRecord to add.</param> /// <returns>The created Microsoft.Graph.CallRecords.CallRecord.</returns> public System.Threading.Tasks.Task <Microsoft.Graph.CallRecords.CallRecord> AddAsync(Microsoft.Graph.CallRecords.CallRecord callRecord) { return(this.AddAsync(callRecord, CancellationToken.None)); }