Example #1
0
 public PaymentService(
     IAccountDataStore mainAccountDataStore,
     IAccountDataStore backupAccountDataStore,
     IDataStoreTypeProvider dataStoreTypeProvider)
 {
     _backupAccountDataStore = backupAccountDataStore;
     _dataStoreTypeProvider  = dataStoreTypeProvider;
     _accountDataStore       = mainAccountDataStore;
 }
Example #2
0
 public PaymentService()
 {
     _backupAccountDataStore = new BackupAccountDataStore();
     _accountDataStore       = new AccountDataStore();
     _dataStoreTypeProvider  = new DataStoreTypeProvider();
 }