Esempio n. 1
0
        public void Delete(int id)
        {
            var cat = GetCategoryById(id);

            _productManagerDbContext.Remove(cat);
            _productManagerDbContext.SaveChanges();
        }