tipi-lang/examples/web/api/customer/web.tp
2026-01-06 22:14:14 +01:00

9 lines
156 B
Text

fn get() -> list:
service::get_all()
fn post(customer: Customer):
service.add(customer)
fn put(customer: Customer):
service.update(customer)