Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
420 B

using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
using Volo.CmsKit.Web.Pages.CmsKit.Components.ContentPreview;
namespace Volo.CmsKit.Web.Controllers;
public class CmsKitCommonWidgetsController : AbpController
{
[HttpPost]
public IActionResult ContentPreview(ContentPreviewDto dto)
{
return ViewComponent(typeof(ContentPreviewViewComponent), new { content = dto.Content });
}
}