Ejemplo n.º 1
0
 public LogsController(IExceptionLogRepository exceptionLogRepository, ITraceLogRepository traceLogRepository, IMapper mapper) : base(mapper)
 {
     this.ExceptionLogRepository = exceptionLogRepository;
     this.TraceLogRepository     = traceLogRepository;
 }
Ejemplo n.º 2
0
        public ArpagonUow()
        {
            // Context
            CreateDbContext();

            // Repos
            _CategorieRepo = new CategorieBudgetRepository(db);
            _BudgetRepo = new BudgetRepository(db);

            _CompteBanqueRepo = new CompteBanqueRepository(db);
            _BanqueRepo = new EFRepository<Banque>(db);
            _CompteCaisseRepo = new CompteCaisseRepository(db);
            _GroupeRepo = new GroupeRepository(db);

            _ModeleMouvementBudgetRepo = new ModeleMouvementBudgetRepository(db);
            _ModeleProvisionRepo = new ModeleProvisionRepository(db);
            _ModeleRepo = new ModeleRepository(db);
            _MouvementRepo = new MouvementBudgetRepository(db);
            _MoyenPaiementRepo = new MoyenPaiementRepository(db);
            _NoteRepo = new EFRepository<Note>(db);
            _OperationRepo = new OperationRepository(db);
            _FinancementRepo = new FinancementRepository(db);
            _FinancementBudgetRepo = new FinancementBudgetRepository(db);

            _ProvisionRepo = new ProvisionRepository(db);
            _TypeOperationRepo = new EFRepository<TypeOperation>(db);
            //_UserRepo = new UserRepository(db);
            _UtilisateurRepo = new UtilisateurRepository(db);
            _Chargement = new EFRepository<Chargement>(db);
            _OperationRawSG = new RawRepository<OperationRawSG>(db);

            _Contrat = new ContratRepository(db);
            _EcheanceContrat = new EcheanceContratRepository(db);
            _RapproEcheance = new RapproEcheanceRepository(db);
            _RapproRaw = new RapproRawRepository(db);

            _TraceLog = new TraceLogRepository(db);
        }