namespace App\Http\Controllers;
+use App\Events\RoundAdded;
+use App\Models\Protocol;
use App\Models\Round;
use App\Models\Tournament;
use Illuminate\Http\Request;
'tournament_id' => $validatedData['tournament_id'],
]);
+ Protocol::roundAdded(
+ $tournament,
+ $round,
+ $request->user(),
+ );
+
+ RoundAdded::dispatch($round);
+
return $round->toJson();
}