public Task AddBid(StockBid stockBid) { Bids.Add(stockBid); ServiceEventSource.Current.ServiceRequestStart("AddBid"); ServiceEventSource.Current.ServiceRequestStop("AddBid"); MatchBidToSale(stockBid); // Return empty task, because interface has to return Task // http://stackoverflow.com/questions/13127177/if-my-interface-must-return-task-what-is-the-best-way-to-have-a-no-operation-imp return(Task.FromResult <object>(null)); }
private void MatchBidToSale(StockBid stockBid) { }