Skip to content

Commit

Permalink
Update user.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Oktawian-L committed Nov 3, 2019
1 parent 9a01cbf commit 7e44962
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Subiton/src/app/_services/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ constructor(private http: HttpClient) { }
console.log(this.baseUrl + 'Users/' + id );
return this.http.get<User>(this.baseUrl + 'Users/' + id );
}
updateUser(id: number, user: User) {}
updateUser(id: number, user: User) {
this.http.put(this.baseUrl+'Users/'+id,user);
}
}

0 comments on commit 7e44962

Please sign in to comment.