forked from EncompassRest/EncompassRest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReports.cs
43 lines (33 loc) · 874 Bytes
/
Reports.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using EncompassREST.Data;
using EncompassREST.Reporting;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EncompassREST
{
public class Reports
{
private Session eSession;
private Dictionary<Guid, Report> _ReportList;
public Session Session
{
get { return eSession; }
}
public Reports(Session Session)
{
eSession = Session;
_ReportList = new Dictionary<Guid, Reporting.Report>();
}
public Report newReport(string Title = "")
{
var report = new Report(eSession, Title);
_ReportList.Add(report.ReportID, report);
return report;
}
}
}