Example #1
0
        public FiksRequestMessageService(AppSettings appAppSettings)
        {
            _appSettings = appAppSettings;
            var config = FiksIOConfigurationBuilder.CreateFiksIOConfiguration(_appSettings);

            _client = new FiksIOClient(config);

            _senderId = config.KontoConfiguration.KontoId;
        }
Example #2
0
 public FiksResponseMessageService(IServiceScopeFactory scopeFactory, AppSettings appSettings)
 {
     _scopeFactory = scopeFactory;
     _appSettings  = appSettings;
     _client       = new FiksIOClient(FiksIOConfigurationBuilder.CreateFiksIOConfiguration(_appSettings));
 }