pub async fn create_audit_log( platform_id: i64, audit_log: Json<AuditLog>, db_manager: &State<Arc<DatabaseManager>>, ) -> Result<Json<AuditLog>, (Status, Json<Value>)>
Creates a new audit log entry in the system.