mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 17:20:34 +07:00
Update service.go
This commit is contained in:
@@ -30,14 +30,14 @@ export default class %sService implements IService<%s> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async create(item: %s) {
|
async create(item: %s) {
|
||||||
return await Create(item)
|
await Create(item)
|
||||||
}
|
}
|
||||||
|
|
||||||
async delete(id: number) {
|
async delete(id: number) {
|
||||||
return await Delete(id)
|
return await Delete(id)
|
||||||
}
|
}
|
||||||
async update(item: %s) {
|
async update(item: %s) {
|
||||||
return await Update(item)
|
await Update(item)
|
||||||
}
|
}
|
||||||
async count() {
|
async count() {
|
||||||
return await Count()
|
return await Count()
|
||||||
|
|||||||
Reference in New Issue
Block a user