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