/// <summary> /// Deletes the call with the given call sid. /// </summary> /// <param name="callSid">The SID of the Twilio call resource.</param> /// <param name="log">A logger instance.</param> /// <returns>A Task returning true if successful and false if failed.</returns> public async Task <bool> DeleteCallAsync(string callSid, ILogger log) { log.LogInformation($"Attempting to delete Twilio call resource '{callSid}'..."); return(await CallResource.DeleteAsync(callSid, client : _twilioClient)); }