use actix_web::{web, Error, HttpResponse}; use crate::common::{Part, Product}; pub async fn get_parts(_query: web::Query>) -> Result { Ok(HttpResponse::Ok().finish()) } pub async fn add_part(_new_part: web::Json) -> Result { Ok(HttpResponse::Ok().finish()) } pub async fn get_part_detail(_id: web::Path) -> Result { Ok(HttpResponse::Ok().finish()) } pub async fn remove_part(_id: web::Path) -> Result { Ok(HttpResponse::Ok().finish()) }