public void Persist(IEnumerable <TradeRecord> trades) { Task.Run(() => SynchTradeStorage.Persist(trades)); }
public void Persist(IEnumerable <TradeRecord> trades) { // Save the trades to the database asynchronously Task.Run(() => SynchTradeStore.Persist(trades)); }