add user status
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user