Example #1
0
        public void Delete(int Id)
        {
            Categoria categoria = FindCategoriaById(Id);

            _context.Remove(categoria);
            _context.SaveChanges();
        }