public void TestGetRegionReportViewModelByBuild_EnergyCode() { DateTime today = DateTime.Now; RegionReportViewModel reportViewModel = service.GetViewModel("000001G001", "2018", "YY"); Console.WriteLine(UtilTest.GetJson(reportViewModel)); }
public object Get(string buildId, string date, string type) { try { return(service.GetViewModel(buildId, date, type)); } catch (Exception e) { return(e.Message); } }