feat: Ajout d'un groupe de tâches

This commit is contained in:
2026-09-23 12:14:41 +02:00
parent a03322b52d
commit ad85a96c33
4 changed files with 50 additions and 3 deletions
+9
View File
@@ -7,4 +7,13 @@ export class GroupService extends BaseService {
public getGroups(): Observable<Group[]> {
return this.get<Group[]>("group");
}
public addGroup(name:string):Observable<Group>{
let body:Group = {
id_group:0,
name_group:name,
};
return this.post<Group>("group/add",body);
}
}