private async Task UpdateWorkItemCollection() { try { HttpWorkItemCollectionClient client = new HttpWorkItemCollectionClient(); await client.UpdateWorkItemCollection(WorkItemCollection).ConfigureAwait(false); } catch (Exception) { mContext.DialogBuilder.ErrorDialog("Could not update collection, due to server error."); } }