Example #1
0
        public ClientService(ITechnicienRepository _technicienRepository,
                             IEmployéRCRepository _employéRCRepository,
                             IBranchementRepository _branchementRepository,
                             ICompteRepository _compteRepository,
                             IClientRepository _clientRepository,
                             IClientEntrepriseRepository _clientEntrepriseRepository,
                             IClientPersonneRepository _clientPersonneRepository,

                             IFilmRepository _filmRepository,
                             IInstallationRepository _installationRepository,
                             IEquipementRepository _equipementRepository,
                             IServiceDiffusionRepository _serviceDiffusionRepository,
                             IEstDesserviDansRepository _estDesserviDansRepository,
                             IFactureRepository _factureRepository,
                             ILoueFilmRepository _loueFilmRepository,
                             IPaiementRepository _paiementRepository,
                             ITerritoireRepository _territoireRepository)
        {
            this._branchementRepository      = _branchementRepository;
            this._compteRepository           = _compteRepository;
            this._clientRepository           = _clientRepository;
            this._clientRepository           = _clientRepository;
            this._clientPersonneRepository   = _clientPersonneRepository;
            this._clientEntrepriseRepository = _clientEntrepriseRepository;
            this._filmRepository             = _filmRepository;
            this._installationRepository     = _installationRepository;
            this._equipementRepository       = _equipementRepository;
            this._serviceDiffusionRepository = _serviceDiffusionRepository;
            this._estDesserviDansRepository  = _estDesserviDansRepository;
            this._factureRepository          = _factureRepository;
            this._loueFilmRepository         = _loueFilmRepository;
            this._paiementRepository         = _paiementRepository;
            this._territoireRepository       = _territoireRepository;
            this._technicienRepository       = _technicienRepository;
            this._employéRCRepository        = _employéRCRepository;
        }
        //-- END DBContext // ATTRIBUTS

        //-- CONSTRUCTOR
        public CompteController(ICompteRepository _compteRepository)
        {
            //-- DEPENDENCY INJECTION
            this._compteRepository = _compteRepository;
            //-- END DEPENDENCY INJECTION
        }
Example #3
0
 public CompteController(ICompteRepository compteRepository)
 {
     this.compteRepository = compteRepository;
 }
Example #4
0
 public ClientRepository(SolutionCleanCabloPlusContext contexte, ICompteRepository compteRepository) : base(contexte)
 {
     this.compteRepository = compteRepository;
 }
Example #5
0
        private ICompteRepository repo;// new ComptesRepositoryImp_EF();


        public CompteBusinessImpl(ICompteRepository repo)
        {
            this.repo = repo;
        }
 public CompteController(ICompteRepository repository)
 {
     this.repository = repository;
 }
 public ServiceDiffusionRepository(SolutionCleanCabloPlusContext contexte, ICompteRepository compteRepository, IFactureRepository factureRepository, IEstDesserviDansRepository estDesserviDansRepository) : base(contexte)
 {
     this.compteRepository          = compteRepository;
     this.factureRepository         = factureRepository;
     this.estDesserviDansRepository = estDesserviDansRepository;
 }