public void Test_PopulateShareStatFromYahoo() { ShareInfoBLL sibll = new ShareInfoBLL(_unit); ShareInfo info = new ShareInfo(); sibll.GetShareStatFromYahoo("ORG.AX", info); }
public void Test_GetShareProfileFromYahoo() { ShareInfoBLL sibll = new ShareInfoBLL(_unit); sibll.UploadShareProfileFromYahoo("ORG.AX"); //sibll.UploadShareProfileFromYahoo("UBP.AX"); }
public IHttpActionResult Post(ShareInfo shareInfo) { ShareInfo output = null; if (shareInfo.Id > 0) { output = new ShareInfoBLL(_unit).UpdateShareInfo(shareInfo); } return(Ok(output)); }
public IHttpActionResult GetByShareID(int id) { var shareInfo = new ShareInfoBLL(_unit).GetByShareID(id); if (shareInfo == null) { shareInfo = new ShareInfo(); } shareInfo.DataStartDate = new TickerBLL(_unit).GetDataStartDate(id); return(Ok(shareInfo)); }
public void Test_UploadShareProfileFromYahooAll() { ShareInfoBLL sibll = new ShareInfoBLL(_unit); sibll.UploadShareProfileFromYahooAll(); }