Esempio n. 1
0
 public EditIncomeModel(
     IIncomesQueries incomesQueries,
     IAccountQueries accountQueries,
     IIncomeTypeQueries incomeTypeQueries,
     IIncomeItemCommands incomeItemCommands)
 {
     _incomesQueries     = incomesQueries;
     _accountQueries     = accountQueries;
     _incomeTypeQueries  = incomeTypeQueries;
     _incomeItemCommands = incomeItemCommands;
 }
Esempio n. 2
0
 public AccountCommands(IEntityRepository repository,
                        ICurrentSession currentSession,
                        IIncomeItemCommands incomeItemCommands,
                        ITimeService timeService,
                        ITransactionBuilder transactionBuilder)
 {
     _repository         = repository;
     _currentSession     = currentSession;
     _incomeItemCommands = incomeItemCommands;
     _timeService        = timeService;
     _transactionBuilder = transactionBuilder;
 }