pub fn gen(pascal: &str, snake: &str, _id: Option<&str>) -> String {
    format!(
        r#"use axum::{{routing::get, Router}};
use crate::app::controllers::{snake}_controller::{pascal}Controller;
use crate::state::AppState;

pub fn {snake}_routes() -> Router<AppState> {{
    Router::new()
        .route("/{snake}s", get({pascal}Controller::index).post({pascal}Controller::store))
        .route("/{snake}s/:id", get({pascal}Controller::show).put({pascal}Controller::update).delete({pascal}Controller::destroy))
}}
"#
    )
}
