Exemplo n.º 1
0
        private async void GetVarieties()
        {
            if (Varieties != null)
            {
                Varieties.Clear();
            }
            var varieties = await _plantManager.GetVarieties(_selectedPlant.ID);

            Varieties = new ObservableCollection <Variety>(varieties);
        }