public void Delete(int Id) { Categoria categoria = FindCategoriaById(Id); _context.Remove(categoria); _context.SaveChanges(); }