Пример #1
0
        public virtual Boolean IsAppRunning(MvcContext ctx)
        {
            UserAppService userAppService = new UserAppService();
            IMemberApp     app            = userAppService.GetByApp((IApp)ctx.app.obj);

            if (app == null || app.IsStop == 1)
            {
                return(false);
            }

            return(true);
        }
Пример #2
0
        public Boolean IsAppRunning(MvcContext ctx)
        {
            UserAppService userAppService = new UserAppService();
            IMemberApp     app            = userAppService.GetByApp((IApp)ctx.app.obj);

            if (app == null || app.IsStop == 1)
            {
                ctx.utils.endMsg(lang.get("exAppNotFound"), HttpStatus.NotFound_404);
                return(false);
            }

            return(true);
        }