Ejemplo n.º 1
0
 public AppController()
     : base()
 {
     userAppService = new GroupAppService();
     menuService = new GroupMenuService();
     logService = new GroupLogService();
 }
Ejemplo n.º 2
0
        public Boolean IsAppRunning( MvcContext ctx )
        {
            GroupAppService userAppService = new GroupAppService();
            IMemberApp app = userAppService.GetByApp( (IApp)ctx.app.obj );
            if (app == null || app.IsStop == 1)
                throw ctx.ex( HttpStatus.NotFound_404, lang.get( "exAppNotFound" ) );

            return app.IsStop == 0;
        }
Ejemplo n.º 3
0
        public virtual Boolean IsAppRunning( MvcContext ctx )
        {
            GroupAppService userAppService = new GroupAppService();
            IMemberApp app = userAppService.GetByApp( (IApp)ctx.app.obj );
            if (app == null || app.IsStop == 1) {
                return false;
            }

            return true;
        }
Ejemplo n.º 4
0
        public GroupLayoutController()
        {
            groupMenuService = new GroupMenuService();
            groupAppService = new GroupAppService();

            groupService = new GroupService();
            mgrService = new MemberGroupService();
            gfService = new GroupFriendService();
            skinService = new SkinService();
            siteSkinService = new SiteSkinService();
        }
Ejemplo n.º 5
0
 public GroupService()
 {
     appService  = new GroupAppService();
     menuService = new GroupMenuService();
     mgrService  = new MemberGroupService();
 }
Ejemplo n.º 6
0
 public GroupUtil() {
     appService = new GroupAppService();
     menuService = new GroupMenuService();
     forumService = new ForumService();
 }
Ejemplo n.º 7
0
 public GroupService()
 {
     appService = new GroupAppService();
     menuService = new GroupMenuService();
     mgrService = new MemberGroupService();
 }
Ejemplo n.º 8
0
 public GLinkController()
 {
     userAppService = new GroupAppService();
 }