I want to store data in two table at the same time using API. My code is:
api.php
function add_audit() { $audity_dept