"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.clearCustomLabel = clearCustomLabel;
const ClearCustomLabelUC_1 = require("../UC/ClearCustomLabelUC");
function clearCustomLabel(appObjectID, appObjectRepo) {
    const appObject = appObjectRepo.get(appObjectID);
    if (!appObject) {
        appObjectRepo.submitWarning("ClearCustomLabelController", "App Object not found");
        return;
    }
    const clearCustomLabelUC = ClearCustomLabelUC_1.ClearCustomLabelUC.get(appObject);
    if (!clearCustomLabelUC) {
        appObjectRepo.submitWarning("ClearCustomLabelController", "ClearCustomLableUC was not added to App Object");
        return;
    }
    clearCustomLabelUC.clearCustomLabel();
}
//# sourceMappingURL=ClearCustomLabel.js.map