示例#1
0
        //public ActionResult TestPerformanceStandards()
        //{
        //    PermitDO synchTo = PermitBLL.GetPermit(54);
        //    PermitDO approved = PermitBLL.GetPermit(45);
        //    PermitDO superseded = PermitBLL.GetPermit(7);
        //    string folder = DirectoryMapping.AttachmentContentFolder;
        //    //PermitChangesBLL.SyncMapAttachments(synchTo, approved, superseded, folder);
        //    PermitChangesBLL.SyncPerformanceStandardChange(synchTo, approved, superseded);
        //    return View();
        //}
        public ActionResult Index()
        {
            myCoalUser user = myCoalUser.GetInstance();
            HomeBO HomeBo = TOCBLL.GetHomePage(user.RegistrationId);
            HomeVM model = new HomeVM(HomeBo);

            return View(model);
        }
示例#2
0
        //[HttpGet]
        public ActionResult ViewAllActivities()
        {
            myCoalUser user = myCoalUser.GetInstance();
            //ActivityBO ActivityBo = TOCBLL.GetAllActivities(user.RegistrationId, ""); //select blank PermitID will show nothing
            HomeBO ActivityBo = TOCBLL.GetAllActivities(user.RegistrationId, ""); //select blank PermitID will show nothing
            HomeVM model = new HomeVM(ActivityBo);

            return View(model);
        }