public async Task <IActionResult> SetCoinDetail() { var rawCoinDatas = await _coin.DeseriliazeJson(); if (rawCoinDatas == null) { return(BadRequest()); } var recordDate = DateTime.Now; foreach (var coinData in rawCoinDatas.Data) { //coinData.Value.SocialStats = await _socialStats.GetById(coinData.Value.Id); coinData.Value.RecordDate = recordDate; _coin.Add(coinData.Value); } return(Ok()); }