Ejemplo n.º 1
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileAppByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseProfileAppInt wrapper = new ResponseProfileAppInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-app/count/by-uuid";

            int i = api.CountProfileAppByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileApp()
        {
            ResponseProfileAppInt wrapper = new ResponseProfileAppInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-app/count";

            int i = api.CountProfileApp(
            );

            // get data
            wrapper.data = i;

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