Exemplo n.º 1
0
        public async void DeleteCategoryAction()
        {
            await _categoryService.DeleteCategoryById(SelectedCategory.GetId());

            SelectedCategory = null;
            await UpdateData();
        }