예제 #1
0
        public void TestGetLogByWeek()
        {
            SystemLogService   service   = new SystemLogService();
            SystemLogViewModel ViewModel = service.GetViewModel("WW");

            Console.WriteLine(UtilTest.GetJson(ViewModel));
        }
예제 #2
0
        public void TestGetLogByDatetime()
        {
            SystemLogService service  = new SystemLogService();
            string           startDay = DateTime.Now.ToString("yyyy-MM-dd");
            string           endDay   = DateTime.Now.ToString("yyyy-MM-dd");

            SystemLogViewModel ViewModel = service.GetViewModel(startDay, endDay);

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