/// <summary> /// Update Settlement Service with new or updated business/provider information /// </summary> /// <param name="newProvider">BusinessModel.Settlement.NewProvider</param> /// <returns>True if call succeeds, false otherwise</returns> public bool StoreNewProvider(BusinessModel.Settlement.NewProvider newProvider) { var newProviders = new SettlementServiceContract.NewProvider[] {SettlementMapper.MapToServiceProvider(newProvider)}; return serviceReplicatorProxy.StoreNewProviders(newProviders, PROGRESS_NOTES_NEW_PROVIDERS); }
/// <summary> /// Push to Settlement Service updated eagle's transaction information /// </summary> /// <param name="transactionModel">BusinessModel.Settlement.TransactionModel</param> /// <returns>True if call succeeds, false otherwise</returns> public bool StoreTransaction(BusinessModel.Settlement.TransactionModel transactionModel) { var transactions = new SettlementServiceContract.Transaction[] { SettlementMapper.MapToServiceTransaction(transactionModel) }; return serviceReplicatorProxy.StoreTransactions(transactions, PROGRESS_NOTES); }