public async void loadItemCatalogue() { var myItems = await itemDb.GetAllItems(); var temp = myItems.OrderBy(x => x.Name); if (temp != null) { ObservableCollection <SalesItemSelection> ItemCatalogueTemp = new ObservableCollection <SalesItemSelection>(); if (temp.Count() > 0) { foreach (Models.Item data in temp) { ItemCatalogueTemp.Add(new SalesItemSelection(data.ItemId, data.Name, data.Price, data.UnitMeasurement, data.Barcode)); } ItemCatalogue = ItemCatalogueTemp; } } RaisePropertyChanged(() => ItemCatalogue); }