Exemple #1
0
 public UploadModel(
     ITransactionsService transactionsService,
     AllianzTxtFileParser allianz,
     RaiffeizenTxtFileParser rai,
     RevolutExcelParser revolut,
     MailImporter importer,
     Config config)
 {
     this.transactionsService = transactionsService;
     this.allianz             = allianz;
     this.rai              = rai;
     this.importer         = importer;
     this.revolut          = revolut;
     this.TransactionsList = new TransactionsListModel()
     {
         ShowSource = true
     };
     this.SkippedTransactionsList = new TransactionsListModel()
     {
         ShowSource = true, ShowTime = true
     };
     this.HasMail = importer.TestConnection();
 }
 public void Init()
 {
     this.parser = new RaiffeizenTxtFileParser();
 }