vegleges feladat
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user