/// <summary> /// Load list with all documents /// </summary> /// <returns></returns> public async Task LoadDocumentList() { IsLoading = true; var loadedDocuments = await GetDocumentList(); //Remove existing items; DocumentList.RemoveAll(x => loadedDocuments.Select(l => l.Id).Contains(x.Id)); DocumentList.AddRange(loadedDocuments); DocumentList.Revision = loadedDocuments.Revision; IsLoading = false; }