Пример #1
0
 public TransactionAppService(IRepository <Transaction, Guid> transactionRepository, IRepository <Account, Guid> accountRepository, ISessionAppService sessionAppService, ICurrencyRateAppService currencyRateExchangeService, IRepository <TransactionComment, Guid> transactionCommentRepository, PiggySettings settings, IBackgroundJobManager backgroundJobManager)
 {
     _transactionRepository        = transactionRepository;
     _accountRepository            = accountRepository;
     _sessionAppService            = sessionAppService;
     _currencyRateExchangeService  = currencyRateExchangeService;
     _transactionCommentRepository = transactionCommentRepository;
     _settings             = settings;
     _backgroundJobManager = backgroundJobManager;
 }
Пример #2
0
 public ReportAppService(IReportRepository reportRepository, IRepository <Transaction, Guid> transactionRepository, ICurrencyRateAppService currencyRateExchangeService)
 {
     _reportRepository            = reportRepository;
     _transactionRepository       = transactionRepository;
     _currencyRateExchangeService = currencyRateExchangeService;
 }