add remove common area en api service
This commit is contained in:
parent
bb05560668
commit
859c420067
|
@ -258,6 +258,16 @@ export class AppService {
|
||||||
.pipe(map((message: string) => ({ message })));
|
.pipe(map((message: string) => ({ message })));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//GET parameter from API
|
||||||
|
removeCommonArea(paramCommonAreaId: string) {
|
||||||
|
const pattern = { cmd: 'removeCommonArea' };
|
||||||
|
const payload = { id: paramCommonAreaId };
|
||||||
|
return this.clientCommonAreaApp
|
||||||
|
.send<string>(pattern, payload)
|
||||||
|
.pipe(map((message: string) => ({ message })));
|
||||||
|
}
|
||||||
|
|
||||||
// ====================== GUESTS ===============================
|
// ====================== GUESTS ===============================
|
||||||
|
|
||||||
//POST parameter from API
|
//POST parameter from API
|
||||||
|
|
Loading…
Reference in New Issue