private async void EditAGist() { await TryAsyncApi("Edit " + UploadFileName, async() => await _gistClient.EditAGist(SelectedItem.ID, UploadFileDescription, UploadFileName, Text)); await ListMyGists(); }
public async Task Update(GistObject obj, string filename, string content) { await client.EditAGist(obj.id, obj.description, filename, content); }