public void TestGetCircuitView() { CircuitReportService service = new CircuitReportService(); CircuitReportViewModel view = service.GetViewModel("admin"); Console.WriteLine(view); }
public object GetReport() { string userName = User.Identity.Name; return(service.GetViewModel(userName)); }