private bool LoadValueData() { if (!ApiSync.HasConnection()) { return(false); } Market = ApiSync.GetMarketValues(); return(true); }
private bool LoadValueData() { if (!ApiSync.HasConnection()) { return(false); } Market = ApiSync.GetMarketValues(); if (ObjectIsNull(Market)) { return(false); } return(_marketPriceService.Insert(Market)); }
private bool LoadActualPriceData() { if (!ApiSync.HasConnection()) { return(false); } Actual = ApiSync.GetActualPrice(); if (ObjectIsNull(Actual)) { return(false); } return(_actualPriceService.Insert(Actual)); }