public async Task <IWidgetComponentViewResult> InvokeAsync()
        {
            var widgetId = WidgetViewContext.ConfigurationInfo.Id;

            var list = await _widgetContentService.GetListAsync <LinkModel>(widgetId, string.Empty);

            var model = new WidgetViewModel()
            {
                Title = WidgetViewContext.ConfigurationInfo.Title,
                List  = list,
            };

            return(View(model));
        }
        public async Task <IActionResult> GetList(Guid id)
        {
            var links = await _widgetContentService.GetListAsync <LinkModel>(id, string.Empty);

            return(Ok(links));
        }