Exemple #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);
        }
        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);
        }