9 lines
156 B
Text
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)
|