pub async fn delete( db: &State<Surreal<Client>>, id: &str, category: Json<CreateCategory<'_>>, ) -> Result<Empty>