Add register function and logout

This commit is contained in:
2023-05-05 10:26:30 +02:00
parent 3a87d41068
commit 6f72e3e6e7
5 changed files with 54 additions and 40 deletions

View File

@@ -30,7 +30,9 @@ export class UserService {
}
createUser(user: UserEntity) {
console.log("create "+user);
return this.http.post<UserEntity>(USER, user);
}
updateUser(user: UserEntity, id: number) {