add user status

This commit is contained in:
_Bastler
2021-03-27 13:30:23 +01:00
parent b3f77eb721
commit 2cbfd628a2
5 changed files with 133 additions and 24 deletions
+4
View File
@@ -11,6 +11,10 @@ export class UserService {
constructor(private http: HttpClient) {
}
get() {
return this.http.get(environment.apiUrl + "/users");
}
register(userModel) {
return this.http.post(environment.apiUrl + "/users", userModel);
}