public void Remove(int id) { if (repo.IsAdmin()) { repo.Remove(id); } else { throw new AccessViolationException(); } }