示例#1
0
        public void TestGetCircuitView()
        {
            CircuitReportService   service = new CircuitReportService();
            CircuitReportViewModel view    = service.GetViewModel("admin");

            Console.WriteLine(view);
        }
示例#2
0
        public object GetReport()
        {
            string userName = User.Identity.Name;

            return(service.GetViewModel(userName));
        }