public Service(IRepoAngajat repoAngajat, IRepoProba repoProba, IRepoParticipant repoParticipant, IRepoProbaParticipant repoProbaParticipant, IValidator <Angajat> validatorAngajat, IValidator <Proba> validatorProba, IValidator <Participant> validatorParticipant) { this.repoAngajat = repoAngajat; this.repoProba = repoProba; this.repoParticipant = repoParticipant; this.repoProbaParticipant = repoProbaParticipant; this.validatorAngajat = validatorAngajat; this.validatorProba = validatorProba; this.validatorParticipant = validatorParticipant; clientiLogati = new Dictionary <string, IObserver>(); }
public Service(IRepoAngajat repoAngajat, IRepoRestaurant repoRestaurant) { _repoAngajat = repoAngajat; _repoRestaurant = repoRestaurant; }