Changeset 6f203af for Farmatiko/ClientApp/src/app
- Timestamp:
- 10/28/20 22:06:48 (4 years ago)
- Branches:
- master
- Children:
- 993189e
- Parents:
- 1454207
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/shared/data.service.ts
r1454207 r6f203af 160 160 //PharmacyHead POST 161 161 insertPharmacyHead(head: IPharmacyHead) : Observable<IPharmacyHead> { 162 return this.http.post<IPharmacyHead>(this.basePharmacyHead , head)162 return this.http.post<IPharmacyHead>(this.basePharmacyHead + '/add', head) 163 163 .pipe( 164 164 map((data) => { … … 189 189 //PharmacyHead DELETE 190 190 deletePharmacyHead(id: string) : Observable<boolean> { 191 return this.http.delete<boolean>(this.basePharmacyHead + '/ ' + id)191 return this.http.delete<boolean>(this.basePharmacyHead + '/delete/' + id) 192 192 .pipe(catchError(this.handleError)); 193 193 }
Note:
See TracChangeset
for help on using the changeset viewer.