private ICommandResult GetPosition(int positionId, DateTime asOfDate) { // 15751, 189727 var dataRetriever = new DataRetriever(); Folio folio = null; // TODO : this is writing to the console using (var timeBenchMarker = new TimeBenchmarker("Time : ")) { folio = dataRetriever.GetFolio(positionId, asOfDate); } if (folio != null) { return(new PositionResult(folio.Name)); } return(new NoResult()); }