Example #1
0
 public OperationController(AddOperationProcessorBase operatorProcessorParam, ISourceManager sourceManagerParam,
                            ICurrencyManager currencyManagerParam, ICategoryManager categoryManagerParam, IOperationManager operationManagerParam)
 {
     _operatorProcessor = operatorProcessorParam;
     _sourceManager     = sourceManagerParam;
     _currencyManager   = currencyManagerParam;
     _categoryManager   = categoryManagerParam;
     _operationManager  = operationManagerParam;
 }
 public DebtOperationController(IDBManager dbManagerParam, ICurrencyManager currencyManagerParam, IAgentsManager agentsManagerParam)
 {
     _addOperationProcessor = new AddDebtOperationProcessor(dbManagerParam, currencyManagerParam, agentsManagerParam);
     _statisticManager      = new DebtStatisticManager();
 }