Пример #1
0
        public void TestGetDepartmentCompareViewModelByBuild_DepartmentID_Date()
        {
            DateTime today = DateTime.Now;
            DepartmentCompareService   service   = new DepartmentCompareService();
            DepartmentCompareViewModel ViewModel = service.GetViewModel("000001G001", "D000001G001002", today.ToString());

            Console.WriteLine(UtilTest.GetJson(ViewModel));
        }
Пример #2
0
        public void TestGetDepartmentCompareViewModelByUser()
        {
            DateTime today = DateTime.Now;
            DepartmentCompareService   service   = new DepartmentCompareService();
            DepartmentCompareViewModel ViewModel = service.GetViewModel("admin");

            Console.WriteLine(UtilTest.GetJson(ViewModel));
        }