public async Task <IActionResult> GetWidgetData(int id)
        {
            var widgetQuery = await widgetService.GetWidgetQuery(id);

            if (widgetQuery.UseDemoDataProvider)
            {
                return(Ok(await widgetService.GetWidgetDemoData(id)));
            }
            else
            {
                return(Ok(await widgetService.GetWidgetData(id)));
            }
        }