private async Task ExecuteLoadDocumentsCommand() { if (IsBusy) { return; } IsBusy = true; try { ContentTypes.Clear(); var contentTypes = await DataStore.GetContentTypesAsync(true); ContentTypes.ReplaceRange(contentTypes); } catch (Exception ex) { Debug.WriteLine(ex); MessagingCenter.Send(new MessagingCenterAlert { Title = "Error", Message = "Unable to load content types.", Cancel = "OK" }, "message"); } finally { IsBusy = false; } }