예제 #1
0
        public MainVM GetMainInfo(string centerid)
        {
            var result = new MainVM
            {
                TestRegisCount     = repoOnSite.GetTestRegisCount(centerid),
                ActiveThruDateTime = repoOnSite.GetActive(centerid).ActiveThruDateTime,
                IsExamEnough       = repoOnSite.CheckExamEnough(centerid),
            };

            return(result);
        }