updatePartner($id, $post)); } else { $partners = new Partners; echo json_encode($partners->addNewPartner($post), JSON_UNESCAPED_UNICODE); } ?>