"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deleteLandmark = deleteLandmark;
const UseCases_1 = require("../UseCases");
function deleteLandmark(id, appObjects) {
    const uc = UseCases_1.DeleteLandmarkUC.getById(id, appObjects);
    if (uc) {
        uc.deleteLandmark();
    }
    else {
        appObjects.submitError("deleteLandmark", "Unable to find DeleteLandmarkUC");
    }
}
//# sourceMappingURL=deleteLandmark.js.map