get("user_id"); if ($params->exists(["record_id"]) == false) { respondStatus(400, "Missing parameter"); } removeRecord($user_id, $params); respondStatus(200); } } $branch = new RemoveRecordBranch(); $branch->execute();