public IncomeController(IIncomeRepository incomeRepository,
                         IMapper mapper, IIncomeCategoryRepository incomeCategoryRepository)
 {
     _incomeRepository         = incomeRepository;
     _mapper                   = mapper;
     _incomeCategoryRepository = incomeCategoryRepository;
 }
 public IncomeController(IIncomeEntryRespository repo, IIncomeCategoryRepository catRepo, IAccountTypeRepository accountTypeRepo,
                         IAccountRepository accountRepo)
 {
     _repo            = repo;
     _catRepo         = catRepo;
     _accountTypeRepo = accountTypeRepo;
     _accountRepo     = accountRepo;
 }
Exemplo n.º 3
0
 public AdminController(IIncomeCategoryRepository incomeCatRepo, IExpenseCategoryRepository expenseCatRepo,
                        ITargetAmountRepository targetAmountRepo, ITargetTypeRepository targetTypeRepo, IAccountRepository accountRepo,
                        IAccountTypeRepository accountTypeRepo, IPaymentMethodRepository payRepo, ICreditBalanceRepository creditRepo,
                        ISectorRepository sectorRepo, IStockRepository stockRepo, ICryptoCurrencyRepository cryptoRepo,
                        ICharityRepository charCatRepo)
 {
     _incomeCatRepo    = incomeCatRepo;
     _expenseCatRepo   = expenseCatRepo;
     _targetAmountRepo = targetAmountRepo;
     _targetTypeRepo   = targetTypeRepo;
     _accountRepo      = accountRepo;
     _accountTypeRepo  = accountTypeRepo;
     _payRepo          = payRepo;
     _creditRepo       = creditRepo;
     _sectorRepo       = sectorRepo;
     _stockRepo        = stockRepo;
     _cryptoRepo       = cryptoRepo;
     _charCatRepo      = charCatRepo;
 }
 public IncomeCategoryController(IIncomeCategoryRepository incomeCategoryRepository)
 {
     _incomeCategoryRepository = incomeCategoryRepository;
 }