//------------------------------------------------------------------------------ public virtual void CountGameByOrgIdByAppId() { string _org_id = (string)util.GetParamValue(_context, "org_id"); string _app_id = (string)util.GetParamValue(_context, "app_id"); ResponseGameInt wrapper = new ResponseGameInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game/count/by-org-id/by-app-id"; int i = api.CountGameByOrgIdByAppId( _org_id , _app_id ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameInt wrapper = new ResponseGameInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game/count/by-uuid"; int i = api.CountGameByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGame() { ResponseGameInt wrapper = new ResponseGameInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game/count"; int i = api.CountGame( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }