public function destroy($torneo_id, $equipo_id) { $equipoParticipante = EquipoParticipante::where('tor_id', $torneo_id)->where('eqp_id', $equipo_id)->firstOrFail(); if ($equipoParticipante) { $equipoParticipante->delete(); return \Response::make(null, 200); // return true; } return \Response::make(null, 500); // return false; }