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