diff --git a/Vues/addTask.php b/Vues/addTask.php
index cfe8e0e..7886a81 100644
--- a/Vues/addTask.php
+++ b/Vues/addTask.php
@@ -14,7 +14,7 @@
Ajouter une tâche
-
diff --git a/metier/Tache.php b/metier/Tache.php
index 3377015..b0fd5b3 100644
--- a/metier/Tache.php
+++ b/metier/Tache.php
@@ -38,6 +38,10 @@ class Tache
return $this->completed;
}
+ public function setId(int $id){
+ $this->id=$id;
+ }
+
public function setName(string $name){
$this->name=$name;
}