import { DeleteLandmarkUC } from "../UseCases";
export function deleteLandmark(id, appObjects) {
    const uc = DeleteLandmarkUC.getById(id, appObjects);
    if (uc) {
        uc.deleteLandmark();
    }
    else {
        appObjects.submitError("deleteLandmark", "Unable to find DeleteLandmarkUC");
    }
}
//# sourceMappingURL=deleteLandmark.js.map