public void ParticipantAdd(int pid, string nume, string echipa) { Participant p = new Participant(nume, echipa); p.Id = pid; if (pdr.Save(p) == null) { throw new Exception("Exista deja un participant cu acest id!"); } }