public IActionResult GetReport() { StiReport report = new StiReport(); report.Load(StiNetCoreHelper.MapPath(this, "Reports/TwoSimpleLists.mrt")); return(StiNetCoreDesignerFx.GetReportResult(this, report)); }
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)); }