// public async Task <bool> LoopTasks() { AirtableBase airtableBase = new AirtableBase(appKey, baseID); var tasks = new List <Task <AirtableRetrieveRecordResponse> >(); foreach (string stringID in stringIDs) { if (stringID != null) { Task <AirtableDeleteRecordResponse> task = airtableBase.DeleteRecord(tablename, stringID); response = await task; if (response.Success) { errorMessage = "Success!"; } else { errorMessage = response.AirtableApiError.ErrorMessage; } } else { errorMessage = response.AirtableApiError.DetailedErrorMessage2; } } return(true); }
public async Task DeleteThingAsync(string id) { await Airtable.DeleteRecord(TABLE_NAME, id); }