21 lines
317 B
Rust
21 lines
317 B
Rust
use actix_web::{Responder, delete, get, post};
|
|
|
|
#[get("")]
|
|
async fn get_classes() -> impl Responder {
|
|
""
|
|
}
|
|
|
|
#[get("/{id}")]
|
|
async fn get_class() -> impl Responder {
|
|
""
|
|
}
|
|
|
|
#[post("")]
|
|
async fn create_class() -> impl Responder {
|
|
""
|
|
}
|
|
|
|
#[delete("/{id}")]
|
|
async fn delete_class() -> impl Responder {
|
|
""
|
|
}
|