예제 #1
0
        public ActionResult ChildrenField(int id)
        {
            int count = TaskBO.GetInstance().GetCount(id);

            ChildrenFieldUIModel model = new ChildrenFieldUIModel()
            {
                ID        = id,
                Count     = count,
                ClassName = ""
            };

            return(View("ChildrenField", model));
        }
예제 #2
0
        public ActionResult UserroleChildrenField(int id)
        {
            int count = RoleBO.GetInstance().GetUserroleCount(id);

            ChildrenFieldUIModel model = new ChildrenFieldUIModel()
            {
                ID        = id,
                Count     = count,
                ClassName = "Userrole"
            };

            return(View("ChildrenField", model));
        }
예제 #3
0
        public ActionResult FormdetailChildrenField(int id)
        {
            int count = FormBO.GetInstance().GetFormdetailCount(id);

            ChildrenFieldUIModel model = new ChildrenFieldUIModel()
            {
                ID        = id,
                Count     = count,
                ClassName = "Formdetail"
            };

            return(View("ChildrenField", model));
        }
예제 #4
0
        public ActionResult ActivityChildrenField(int id)
        {
            int count = WorkflowBO.GetInstance().GetActivityCount(id);

            ChildrenFieldUIModel model = new ChildrenFieldUIModel()
            {
                ID        = id,
                Count     = count,
                ClassName = "Activity"
            };

            return(View("ChildrenField", model));
        }