//------------------------------------------------------------------------------ public virtual void CountGameCategoryAssocByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameCategoryAssocInt wrapper = new ResponseGameCategoryAssocInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-category-assoc/count/by-uuid"; int i = api.CountGameCategoryAssocByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameCategoryAssoc() { ResponseGameCategoryAssocInt wrapper = new ResponseGameCategoryAssocInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-category-assoc/count"; int i = api.CountGameCategoryAssoc( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }