public string ExportModule(Module module)
        {
            string content = "";
            List <ReportViewer> ReportViewers = _ReportViewers.GetReportViewers(module.ModuleId).ToList();

            if (ReportViewers != null)
            {
                content = JsonSerializer.Serialize(ReportViewers);
            }
            return(content);
        }
Beispiel #2
0
 public IEnumerable <ReportViewer> Get(string moduleid)
 {
     return(_ReportViewers.GetReportViewers(int.Parse(moduleid)));
 }