public AccountancyExportManager(IAccountancyExportDataProvider accountancyExportDataProvider,
                                        IOptions <AccountancyConfiguration> accountancyConfiguration,
                                        ILogger <AccountancyExportManager> logger)
        {
            _accountancyExportDataProvider = accountancyExportDataProvider;
            _accountancyConfiguration      = accountancyConfiguration.Value;
            _logger = logger;

            _accountancyConfiguration.WinbooksExportLocation = FileUtils.EnsureStorageDirectory(_accountancyConfiguration.WinbooksExportLocation);
        }
Example #2
0
 public AccountancyExportManager(IAccountancyExportDataProvider accountancyExportDataProvider,
                                 ILogger <AccountancyExportManager> logger)
 {
     _accountancyExportDataProvider = accountancyExportDataProvider;
     _logger = logger;
 }