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

            ResponseEventLocationInt wrapper = new ResponseEventLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "event-location/count/by-uuid";

            int i = api.CountEventLocationByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountEventLocation()
        {
            ResponseEventLocationInt wrapper = new ResponseEventLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "event-location/count";

            int i = api.CountEventLocation(
            );

            // get data
            wrapper.data = i;

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