Full crud with the C

This commit is contained in:
2023-01-18 13:47:00 +01:00
parent a7aae397ca
commit 6ccbb8ac00
4 changed files with 31 additions and 12 deletions

View File

@@ -35,4 +35,11 @@ export class CrudService {
model
);
}
public create(model: any) {
return this.http.post<{ menu: [{}] }>(
`/api/v1/entity/`,
model
);
}
}