vegleges feladat

This commit is contained in:
Krisztu
2026-02-22 11:26:39 +01:00
parent f34d410c02
commit b9d0a85cfa

View File

@@ -58,11 +58,6 @@ class poloController extends Controller
*/
public function destroy(string $id)
{
$torlendo=Polo::find($id);
if(!$torlendo){
return response("Sikertelen törlés",404);
}
$torlendo->delete();
return response("",204);
}
}