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

            ResponseOfferCategoryAssocInt wrapper = new ResponseOfferCategoryAssocInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "offer-category-assoc/count/by-uuid";

            int i = api.CountOfferCategoryAssocByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountOfferCategoryAssoc()
        {
            ResponseOfferCategoryAssocInt wrapper = new ResponseOfferCategoryAssocInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "offer-category-assoc/count";

            int i = api.CountOfferCategoryAssoc(
            );

            // get data
            wrapper.data = i;

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