Exemplo n.º 1
0
        private async void GetAllSubcategories()
        {
            var subcategories = await _subcategoryService.GetAllSubcategories();

            Subcategories = null;
            Subcategories = new ObservableCollection <Subcategory>(subcategories);
        }