```class CreateUser extends CreateRecord { protected static string $resource = UserResource::class; protected function getRedirectUrl(): string { return $this->getResource()::getUrl('index'); } protected function afterCreate(User $record) { $record->delete(); }```