public IActionResult GetReport()
        {
            StiReport report = new StiReport();

            report.Load(StiNetCoreHelper.MapPath(this, "Reports/TwoSimpleLists.mrt"));

            return(StiNetCoreDesignerFx.GetReportResult(this, report));
        }
Пример #2
0
        public IActionResult GetReport(string id)
        {
            // Create the report object and load data from xml file
            var report = new StiReport();

            report.Load(StiNetCoreHelper.MapPath(this, "ReportTemplates/" + id + ".mrt"));

            return(StiNetCoreDesignerFx.GetReportResult(this, report));
        }