Пример #1
0
 public IActionResult GetForecastData(Indicator indicator, string assetName, int periods)
 {
     try
     {
         var viewModel = _helpers.GetForecastData(indicator, assetName, periods);
         return(Json(viewModel));
     }
     catch (Exception e)
     {
         return(NotFound(new { message = e.Message }));
     }
 }