Full crud with the C
This commit is contained in:
@@ -35,4 +35,11 @@ export class CrudService {
|
||||
model
|
||||
);
|
||||
}
|
||||
|
||||
public create(model: any) {
|
||||
return this.http.post<{ menu: [{}] }>(
|
||||
`/api/v1/entity/`,
|
||||
model
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user