示例#1
0
 public ViewService(
     IAccountRepository accountRepository,
     IBankTransactionRepository bankTransactionRepository,
     ITransactionRepository transactionRepository,
     ISubclassRepository subclassRepository,
     IBookingRuleRepository bookingRuleRepository,
     IFxService fxService,
     ISettingsService settingsService)
 {
     this.accountRepository         = accountRepository;
     this.bankTransactionRepository = bankTransactionRepository;
     this.transactionRepository     = transactionRepository;
     this.subclassRepository        = subclassRepository;
     this.bookingRuleRepository     = bookingRuleRepository;
     this.fxService       = fxService;
     this.settingsService = settingsService;
 }
示例#2
0
 public HomeController(
     ILoggerFactory loggerFactory,
     IViewService viewService,
     ISettingsService settingsService,
     IFileService fileService,
     IAccountRepository accountRepository,
     ITransactionRepository transactionRepository,
     IBankTransactionRepository bankTransactionRepository,
     IBookingRuleRepository bookingRuleRepository,
     ISplitPredefinitonRepository splitPredefinitonRepository)
 {
     this.logger                      = loggerFactory.CreateLogger(nameof(HomeController));
     this.viewService                 = viewService;
     this.settingsService             = settingsService;
     this.fileService                 = fileService;
     this.accountRepository           = accountRepository;
     this.transactionRepository       = transactionRepository;
     this.bankTransactionRepository   = bankTransactionRepository;
     this.bookingRuleRepository       = bookingRuleRepository;
     this.splitPredefinitonRepository = splitPredefinitonRepository;
 }
示例#3
0
 public BookingRuleController(IViewService viewService, IBookingRuleRepository bookingRuleRepository)
 {
     this.viewService           = viewService;
     this.bookingRuleRepository = bookingRuleRepository;
 }