public async Task <IHttpActionResult> SearchByDailyScan(int tradingDate, int dailyScanId, bool force) { List <OutStockSearchResult> nlist = null; try { var currentUser = await base.GetCurrentUser(); DailyScanBLL bll = new DailyScanBLL(_unit); nlist = bll.SearchScan(tradingDate, dailyScanId, force); } catch (Exception ex) { LogHelper.Error(_log, ex.ToString()); return(InternalServerError(ex)); } return(Ok(nlist)); }
public void Test_SearchScan() { DailyScanBLL bll = new DailyScanBLL(_unit); bll.SearchScan(20160902, 8, false); }