コード例 #1
0
ファイル: BaseGamingService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountGameCategoryByOrgIdByTypeId()
        {
            string _org_id = (string)util.GetParamValue(_context, "org_id");
            string _type_id = (string)util.GetParamValue(_context, "type_id");

            ResponseGameCategoryInt wrapper = new ResponseGameCategoryInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-category/count/by-org-id/by-type-id";

            int i = api.CountGameCategoryByOrgIdByTypeId(
                _org_id
                , _type_id
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
コード例 #2
0
ファイル: BaseGamingService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountGameCategoryByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseGameCategoryInt wrapper = new ResponseGameCategoryInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-category/count/by-uuid";

            int i = api.CountGameCategoryByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
コード例 #3
0
ファイル: BaseGamingService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountGameCategory()
        {
            ResponseGameCategoryInt wrapper = new ResponseGameCategoryInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-category/count";

            int i = api.CountGameCategory(
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }