public Annexe7Service( IAnnexeSeptRepository repository, IExportRepostiory exportRepostiory, Societe societe, Exercice exercice, ILigneAnnexeSeptImportRepository ligneAnnexeSeptImportRepository, //IAnnexeUnRepository annexeUnRepo, //IAnnexeDeuxRepository annexeDeuxRepo, //IAnnexeTroisRepository annexeTroisRepo, //IAnnexeQuatreRepository annexeQuatreRepo, //IAnnexeCinqRepository annexeCinqRepo, IAnnexeSeptRepository annexeSeptRepo) { if (repository == null) { throw new ArgumentNullException("repository"); } if (exportRepostiory == null) { throw new ArgumentNullException("exportRepostiory"); } if (societe == null) { throw new ArgumentNullException("societe"); } if (exercice == null) { throw new ArgumentNullException("exercice"); } _repository = repository; _exportRepostiory = exportRepostiory; _societe = societe; _exercice = exercice; _ligneAnnexeSeptImportRepository = ligneAnnexeSeptImportRepository; _validator = new LigneAnnexeSeptValidator(); //_annexeCinqRepo = annexeCinqRepo; //_annexeSixRepo = annexeSixRepo; //_annexeDeuxRepo = annexeDeuxRepo; //_annexeTroisRepo = annexeTroisRepo; //_annexeUnRepo = annexeUnRepo; //_annexeQuatreRepo = annexeQuatreRepo; _annexeSeptRepo = annexeSeptRepo; }
public Annexe5Service( IAnnexeCinqRepository repository, IExportRepostiory exportRepostiory, Societe societe, Exercice exercice, ILigneAnnexeCinqImportRepository ligneAnnexeCinqImportRepository) { if (repository == null) { throw new ArgumentNullException("repository"); } if (exportRepostiory == null) { throw new ArgumentNullException("exportRepostiory"); } if (societe == null) { throw new ArgumentNullException("societe"); } if (exercice == null) { throw new ArgumentNullException("exercice"); } if (ligneAnnexeCinqImportRepository == null) { throw new ArgumentNullException(nameof(ligneAnnexeCinqImportRepository)); } _repository = repository; _exportRepostiory = exportRepostiory; _societe = societe; _exercice = exercice; _ligneAnnexeCinqImportRepository = ligneAnnexeCinqImportRepository; _validator = new LigneAnnexeCinqValidator(); }