Beispiel #1
0
        private async void GetPlants()
        {
            if (Plants != null)
            {
                Plants.Clear();
            }

            var plants = await _plantManager.GetPlants();

            Plants = new ObservableCollection <Plant>(plants);
        }