import { SetCustomLabelUC } from "../UC/SetCustomLabelUC";
export function submitCustomLabel(appObjectID, appObjectRepo) {
    const appObject = appObjectRepo.get(appObjectID);
    if (!appObject) {
        appObjectRepo.submitWarning("submitCustomLabel Contorller", "App Object not found");
        return;
    }
    const setCustomLabelUC = SetCustomLabelUC.get(appObject);
    if (!setCustomLabelUC) {
        appObjectRepo.submitWarning("submitCustomLabel Controller", "SetCustomLabelUC was not added to App Object");
        return;
    }
    setCustomLabelUC.submit();
}
//# sourceMappingURL=submitCustomLabel.js.map