//------------------------------------------------------------------------------ public virtual void CountProfileGameLocationByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseProfileGameLocationInt wrapper = new ResponseProfileGameLocationInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "profile-game-location/count/by-uuid"; int i = api.CountProfileGameLocationByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountProfileGameLocation() { ResponseProfileGameLocationInt wrapper = new ResponseProfileGameLocationInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "profile-game-location/count"; int i = api.CountProfileGameLocation( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }