Example #1
0
File: VM.cs Project: Eladzy/FoodAPI
        private async void SetCollection()
        {
            await AccessAPI.GetAllData();//remember await

            Collections = new ObservableCollection <FoodPoco>();
            foreach (var item in AccessFoodAPI.DataList)
            {
                Collections.Add(item);
            }
        }