16 lines
258 B
Rust
16 lines
258 B
Rust
use actix_web::{Responder, delete, get, post};
|
|
|
|
#[get("")]
|
|
async fn get_templates() -> impl Responder {
|
|
""
|
|
}
|
|
|
|
#[post("")]
|
|
async fn create_template() -> impl Responder {
|
|
""
|
|
}
|
|
|
|
#[delete("/{id}")]
|
|
async fn delete_template() -> impl Responder {
|
|
""
|
|
}
|