سلام
من کد زیر را نوشته ام و گزارش هم به درستی کار میکند


public IActionResult ShowPrint()
{
return View();
}


public IActionResult Print()
{
var list = dbContect.SexRepository.List();
var report = new Stimulsoft.Report.StiReport();
report.Load("wwwroot/print/Report.mrt");
report.RegData("dt", list);
return StiNetCoreViewer.GetReportResult(this, report);
}


public IActionResult ViewerEvent()
{
return StiNetCoreViewer.ViewerEventResult(this);
}





@using Stimulsoft.Report.Mvc
@{
ViewData["Title"] = "ShowPrint";
}






@Html.StiNetCoreViewer(new StiNetCoreViewerOptions()
{
Actions =
{
GetReport = "Print",
ViewerEvent = "ViewerEvent",


}
})




باید چه کد بنویسم که خروجی بصورت pdf به کاربر نمایش داده شود
برنامه mvc.core (.net5)و استیمول 2020.2.1 است