I am trying to call function in to api call. up till now I have done the following logic but it is not working.
code
changeStatus(id) {
this.http.post('https://localhost:44300/api/apis/ChangeStatus/' + id, "")
.subscribe(
data => {
this._data = data.json(),
this.getAllUser();
},
err => this.logError(err)
);
}
}
,with a;afterdata.json()?,to;